diff options
| author | Todd Willey <todd@ansolabs.com> | 2011-05-26 12:09:04 -0400 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2011-05-26 12:09:04 -0400 |
| commit | 93bfea42bdd594030c8ae046f87291ff184ef3f6 (patch) | |
| tree | 5e3b37572b276fb95c69adc4e59501dfa906da95 /nova/tests | |
| parent | a5c9f44295df4054e9afb135aaa76c5e34cc3624 (diff) | |
Make a cleaner log message and use [] instead of . to get database fields.
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_libvirt.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 1743b09a2..0eaf069fb 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -884,10 +884,7 @@ class IptablesFirewallTestCase(test.TestCase): def test_provider_firewall_rules(self): # setup basic instance data - instance_ref = db.instance_create(self.context, - {'user_id': 'fake', - 'project_id': 'fake', - 'mac_address': '56:12:12:12:12:12'}) + instance_ref = self._create_instance_ref() ip = '10.11.12.13' network_ref = db.project_get_network(self.context, 'fake') admin_ctxt = context.get_admin_context() |
