summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2012-01-19 22:18:09 -0800
committerJoe Gordon <jogo@cloudscaling.com>2012-01-20 14:52:14 -0800
commit7b94f660f41b03d175ae5e89b6dffc69550443d2 (patch)
treea92633ee58213721a00f688f444e029319c2844f /nova/tests
parentfd1aa4613b9a644ad2d702ac2d15cf12cef589c5 (diff)
Pull out ram_filter into a separate filter
Change-Id: Id38bbd0e8dbcd00fee836d555005b954973ae90c
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/scheduler/test_host_filters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/scheduler/test_host_filters.py b/nova/tests/scheduler/test_host_filters.py
index 8462422ad..52c3b10dc 100644
--- a/nova/tests/scheduler/test_host_filters.py
+++ b/nova/tests/scheduler/test_host_filters.py
@@ -53,9 +53,9 @@ class HostFiltersTestCase(test.TestCase):
'service': service})
self.assertTrue(filt_cls.host_passes(host, filter_properties))
- def test_compute_filter_fails_on_memory(self):
+ def test_ram_filter_fails_on_memory(self):
self._stub_service_is_up(True)
- filt_cls = filters.ComputeFilter()
+ filt_cls = filters.RamFilter()
filter_properties = {'instance_type': {'memory_mb': 1024}}
capabilities = {'enabled': True}
service = {'disabled': False}