Fix context argument in a test; add TODOs

This commit is contained in:
Kevin L. Mitchell
2011-07-27 17:56:12 +00:00
parent b847ed1cba
commit 50eb566ba5
2 changed files with 34 additions and 1 deletions

View File

@@ -775,7 +775,7 @@ class LibvirtConnTestCase(test.TestCase):
network_info = [(network, mapping)]
try:
conn.spawn(context.get_admin_context(), instance, network_info)
conn.spawn(self.context, instance, network_info)
except Exception, e:
count = (0 <= str(e.message).find('Unexpected method call'))