From 5a128ca286f17c9fd6b74cc2ff999695b25cd967 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 11 Aug 2014 19:29:55 -0500 Subject: [PATCH] Adding extra member to mock inventory for unittests --- test/units/TestPlayVarsFiles.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/units/TestPlayVarsFiles.py b/test/units/TestPlayVarsFiles.py index cdfa48fe557..94fada6f7ed 100644 --- a/test/units/TestPlayVarsFiles.py +++ b/test/units/TestPlayVarsFiles.py @@ -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]