summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Tran <jtran@attinteractive.com>2011-07-19 14:16:14 -0700
committerJohn Tran <jtran@attinteractive.com>2011-07-19 14:16:14 -0700
commit1d4a789ed370fe0cc00c292f89b96b0ffaf115ff (patch)
tree99e9494e4349479338307ec4cde028e84c5ea6f4
parent12441aae27572a8966a42ff6c5b16cfc7195a634 (diff)
downloadnova-1d4a789ed370fe0cc00c292f89b96b0ffaf115ff.tar.gz
nova-1d4a789ed370fe0cc00c292f89b96b0ffaf115ff.tar.xz
nova-1d4a789ed370fe0cc00c292f89b96b0ffaf115ff.zip
move import network to the top
-rw-r--r--nova/tests/test_cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_cloud.py b/nova/tests/test_cloud.py
index 46e0ec68c..8cdc73a66 100644
--- a/nova/tests/test_cloud.py
+++ b/nova/tests/test_cloud.py
@@ -30,6 +30,7 @@ from nova import db
from nova import exception
from nova import flags
from nova import log as logging
+from nova import network
from nova import rpc
from nova import test
from nova import utils
@@ -151,7 +152,6 @@ class CloudTestCase(test.TestCase):
'fixed_ip': fixed_ip,
'project_id': None,
'auto_assigned': False}
- from nova import network
network_api = network.api.API()
self.mox.StubOutWithMock(network_api.db, 'floating_ip_get_by_address')
network_api.db.floating_ip_get_by_address(mox.IgnoreArg(),