summaryrefslogtreecommitdiff
path: root/nova/tests/functional/regressions/test_bug_1764883.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/functional/regressions/test_bug_1764883.py')
-rw-r--r--nova/tests/functional/regressions/test_bug_1764883.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/nova/tests/functional/regressions/test_bug_1764883.py b/nova/tests/functional/regressions/test_bug_1764883.py
index 2c77a72e56..81b75b841b 100644
--- a/nova/tests/functional/regressions/test_bug_1764883.py
+++ b/nova/tests/functional/regressions/test_bug_1764883.py
@@ -60,11 +60,8 @@ class TestEvacuationWithSourceReturningDuringRebuild(
self.start_service('scheduler')
# Start two computes
- self.computes = {}
-
- self.computes['host1'] = self.start_service('compute', host='host1')
-
- self.computes['host2'] = self.start_service('compute', host='host2')
+ self._start_compute('host1')
+ self._start_compute('host2')
self.image_id = self.api.get_images()[0]['id']
self.flavor_id = self.api.get_flavors()[0]['id']