Fix mock DictDataLoader _get_file_contents to match real code

pull/11181/merge
James Cammarata 10 years ago
parent 73c956366e
commit 9ac624d2c9

@ -40,7 +40,7 @@ class DictDataLoader(DataLoader):
def _get_file_contents(self, path): def _get_file_contents(self, path):
if path in self._file_mapping: if path in self._file_mapping:
return self._file_mapping[path] return (self._file_mapping[path], False)
else: else:
raise AnsibleParserError("file not found: %s" % path) raise AnsibleParserError("file not found: %s" % path)

Loading…
Cancel
Save