summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2011-03-28 14:47:25 -0400
committerChuck Short <zulcss@ubuntu.com>2011-03-28 14:47:25 -0400
commitbb7ed6cb9cf625b675a666866a7f9fb762ca6bd2 (patch)
tree50c4c12170afb68dce4d9a65c13e45b91fd14c7f
parentc8e708af1789fda97674fb4c3904d86de8473a7e (diff)
downloadnova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.tar.gz
nova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.tar.xz
nova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.zip
use self.flags in virt test
-rw-r--r--nova/tests/test_virt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_virt.py b/nova/tests/test_virt.py
index df29e69c2..e6beb8e2e 100644
--- a/nova/tests/test_virt.py
+++ b/nova/tests/test_virt.py
@@ -246,7 +246,7 @@ class LibvirtConnTestCase(test.TestCase):
{'allocated': True,
'instance_id': instance_ref['id']})
- FLAGS.libvirt_type = 'lxc'
+ self.flags(libvirt_type='lxc')
conn = libvirt_conn.LibvirtConnection(True)
uri = conn.get_uri()