def testNoVms(self): host = Host('Fake host', []) result = ListVms().DoIt(host) self.failIf(result != [], 'ListVms returns correct vms')