summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-06-16 14:00:14 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-06-16 14:00:14 -0500
commit09dc2c32e18692c2e3d3743d126a52dd73cf598d (patch)
treef5d92c09b35b25162c9634777de80cfd29954988 /nova/tests
parenta2ea6652fce1b75d61b2217676c8447327a2467e (diff)
returned two files to their trunk versions, odd that they were altered in the first place
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/scheduler/test_zone_aware_scheduler.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/nova/tests/scheduler/test_zone_aware_scheduler.py b/nova/tests/scheduler/test_zone_aware_scheduler.py
index 998b566a6..37c6488cc 100644
--- a/nova/tests/scheduler/test_zone_aware_scheduler.py
+++ b/nova/tests/scheduler/test_zone_aware_scheduler.py
@@ -70,12 +70,16 @@ class FakeZoneAwareScheduler(zone_aware_scheduler.ZoneAwareScheduler):
class FakeZoneManager(zone_manager.ZoneManager):
def __init__(self):
self.service_states = {
- 'host1': {
- 'compute': {'ram': 1000}},
- 'host2': {
- 'compute': {'ram': 2000}},
- 'host3': {
- 'compute': {'ram': 3000}}}
+ 'host1': {
+ 'compute': {'ram': 1000},
+ },
+ 'host2': {
+ 'compute': {'ram': 2000},
+ },
+ 'host3': {
+ 'compute': {'ram': 3000},
+ },
+ }
class FakeEmptyZoneManager(zone_manager.ZoneManager):