Commit 5a128ca2 by James Cammarata

Adding extra member to mock inventory for unittests

parent ac8950fd
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment