diff options
author | Todd Willey <todd@ansolabs.com> | 2011-01-25 17:13:34 -0800 |
---|---|---|
committer | Todd Willey <todd@ansolabs.com> | 2011-01-25 17:13:34 -0800 |
commit | 4b4781f5cc015c80c9acb0625aaeac9cde667d4b (patch) | |
tree | 7f240fb43cde50b908186b02ffc704cc4374d09c | |
parent | 0114eec76754c5759c438b47477b077f21196432 (diff) | |
download | nova-4b4781f5cc015c80c9acb0625aaeac9cde667d4b.tar.gz nova-4b4781f5cc015c80c9acb0625aaeac9cde667d4b.tar.xz nova-4b4781f5cc015c80c9acb0625aaeac9cde667d4b.zip |
Rename Mock, since it wasn't a Mock.
-rw-r--r-- | nova/tests/test_virt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/test_virt.py b/nova/tests/test_virt.py index 1760b73ab..1008f32ae 100644 --- a/nova/tests/test_virt.py +++ b/nova/tests/test_virt.py @@ -222,9 +222,9 @@ class IptablesFirewallTestCase(test.TestCase): self.context = context.RequestContext('fake', 'fake') self.network = utils.import_object(FLAGS.network_manager) - class Mock(object): + class FakeLibvirtConnection(object): pass - self.fake_libvirt_connection = Mock() + self.fake_libvirt_connection = FakeLibvirtConnection() self.fw = libvirt_conn.IptablesFirewallDriver( get_connection=lambda: self.fake_libvirt_connection) |