summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2011-07-08 15:36:40 +0900
committerIsaku Yamahata <yamahata@valinux.co.jp>2011-07-08 15:36:40 +0900
commit58d7fa8bf8610ac2fa65e974061bf8ae78ca321f (patch)
tree9be4bad30bc1b869234e74aadd1c44ec22bbdef7
parent4f973269e84adb10ac3959ef255ecc60cc90620e (diff)
downloadnova-58d7fa8bf8610ac2fa65e974061bf8ae78ca321f.tar.gz
nova-58d7fa8bf8610ac2fa65e974061bf8ae78ca321f.tar.xz
nova-58d7fa8bf8610ac2fa65e974061bf8ae78ca321f.zip
tests/test_cloud: make an unit test, test_create_image, happy
-rw-r--r--nova/tests/test_cloud.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_cloud.py b/nova/tests/test_cloud.py
index bd308f865..77b0f0a2e 100644
--- a/nova/tests/test_cloud.py
+++ b/nova/tests/test_cloud.py
@@ -45,7 +45,8 @@ LOG = logging.getLogger('nova.tests.cloud')
class CloudTestCase(test.TestCase):
def setUp(self):
super(CloudTestCase, self).setUp()
- self.flags(connection_type='fake')
+ self.flags(connection_type='fake',
+ stub_network=True)
self.conn = rpc.Connection.instance()