Fix test for "list_domains" function

This commit is contained in:
Bo Maryniuk 2015-07-15 19:03:18 +02:00
parent 94c340916b
commit fa5163033e

View File

@ -78,7 +78,7 @@ class XapiTestCase(TestCase):
Test to return a list of virtual machine names on the minion
'''
with patch.object(xapi, "_get_xapi_session", MagicMock()):
self.assertListEqual(xapi.list_vms(), [])
self.assertListEqual(xapi.list_domains(), [])
def test_vm_info(self):
'''