Style fixes

This commit is contained in:
Chuck Short
2011-03-29 15:48:02 -04:00
parent 81749732d8
commit a566a99eff

View File

@@ -237,13 +237,13 @@ class LibvirtConnTestCase(test.TestCase):
network_ref = db.project_get_network(context.get_admin_context(), network_ref = db.project_get_network(context.get_admin_context(),
self.project.id) self.project.id)
fixed_ip = {'address': self.test_ip, fixed_ip = {'address': self.test_ip,
'network_id': network_ref['id']} 'network_id': network_ref['id']}
ctxt = context.get_admin_context() ctxt = context.get_admin_context()
fixed_ip_ref = db.fixed_ip_create(ctxt, fixed_ip) fixed_ip_ref = db.fixed_ip_create(ctxt, fixed_ip)
db.fixed_ip_update(ctxt, self.test_ip, db.fixed_ip_update(ctxt, self.test_ip,
{'allocated': True, {'allocated': True,
'instance_id': instance_ref['id']}) 'instance_id': instance_ref['id']})
self.flags(libvirt_type='lxc') self.flags(libvirt_type='lxc')