diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-12 20:13:06 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-12 20:13:06 -0700 |
| commit | d533d6414041437e642f2bbfbc7a86daa2527a65 (patch) | |
| tree | 0624f65037003073cdf4eac43045844af7885635 /nova/tests | |
| parent | b9dc877303c13d43fb6b3e1105e9c0bd7161219d (diff) | |
cleanup leftover addresses
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/cloud_unittest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/cloud_unittest.py b/nova/tests/cloud_unittest.py index 8e5881edb..a880237f2 100644 --- a/nova/tests/cloud_unittest.py +++ b/nova/tests/cloud_unittest.py @@ -64,12 +64,12 @@ class CloudTestCase(test.TrialTestCase): self.cloud = cloud.CloudController() # set up a service - self.compute = utils.import_class(FLAGS.compute_manager)() + self.compute = utils.import_object(FLAGS.compute_manager) self.compute_consumer = rpc.AdapterConsumer(connection=self.conn, topic=FLAGS.compute_topic, proxy=self.compute) self.compute_consumer.attach_to_eventlet() - self.network = utils.import_class(FLAGS.network_manager)() + self.network = utils.import_object(FLAGS.network_manager) self.network_consumer = rpc.AdapterConsumer(connection=self.conn, topic=FLAGS.network_topic, proxy=self.network) |
