diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-24 15:06:42 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-10-24 15:06:42 -0700 |
| commit | 5fdcbd6c831cb3ab2cb04c0eecc68e4b0b9d5a66 (patch) | |
| tree | d30817cd5d5268625185864dbebe4875f87b1728 | |
| parent | 23e81319f88c405557bd5798bd119668983a5a98 (diff) | |
| download | nova-5fdcbd6c831cb3ab2cb04c0eecc68e4b0b9d5a66.tar.gz nova-5fdcbd6c831cb3ab2cb04c0eecc68e4b0b9d5a66.tar.xz nova-5fdcbd6c831cb3ab2cb04c0eecc68e4b0b9d5a66.zip | |
update tests
| -rw-r--r-- | nova/tests/virt_unittest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/virt_unittest.py b/nova/tests/virt_unittest.py index ce78d450c..d49383fb7 100644 --- a/nova/tests/virt_unittest.py +++ b/nova/tests/virt_unittest.py @@ -91,7 +91,7 @@ class LibvirtConnTestCase(test.TrialTestCase): FLAGS.libvirt_type = libvirt_type conn = libvirt_conn.LibvirtConnection(True) - uri, template = conn.get_uri_and_template() + uri, _template, _rescue = conn.get_uri_and_templates() self.assertEquals(uri, expected_uri) xml = conn.to_xml(instance_ref) @@ -114,7 +114,7 @@ class LibvirtConnTestCase(test.TrialTestCase): for (libvirt_type, (expected_uri, checks)) in type_uri_map.iteritems(): FLAGS.libvirt_type = libvirt_type conn = libvirt_conn.LibvirtConnection(True) - uri, template = conn.get_uri_and_template() + uri, _template, _rescue = conn.get_uri_and_templates() self.assertEquals(uri, testuri) def tearDown(self): |
