Adding extra member to mock inventory for unittests

pull/8496/merge
James Cammarata 10 years ago
parent ac8950fd36
commit 5a128ca286

@ -24,6 +24,8 @@ class FakeInventory(object):
self.hosts = {}
def basedir(self):
return "."
def src(self):
return "fakeinventory"
def get_variables(self, host, vault_password=None):
if host in self.hosts:
return self.hosts[host]

Loading…
Cancel
Save