Commit 9ac624d2 by James Cammarata

Fix mock DictDataLoader _get_file_contents to match real code

parent 73c95636
......@@ -40,7 +40,7 @@ class DictDataLoader(DataLoader):
def _get_file_contents(self, path):
if path in self._file_mapping:
return self._file_mapping[path]
return (self._file_mapping[path], False)
else:
raise AnsibleParserError("file not found: %s" % path)
......
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