diff options
| author | Chuck Short <zulcss@ubuntu.com> | 2011-03-28 14:47:25 -0400 |
|---|---|---|
| committer | Chuck Short <zulcss@ubuntu.com> | 2011-03-28 14:47:25 -0400 |
| commit | bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2 (patch) | |
| tree | 50c4c12170afb68dce4d9a65c13e45b91fd14c7f | |
| parent | c8e708af1789fda97674fb4c3904d86de8473a7e (diff) | |
| download | nova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.tar.gz nova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.tar.xz nova-bb7ed6cb9cf625b675a666866a7f9fb762ca6bd2.zip | |
use self.flags in virt test
| -rw-r--r-- | nova/tests/test_virt.py | 2 |
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() |
