======================================================================
ERROR: test_importer_with_resources (deployer.tests.test_importer.ImporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tvansteenburgh/src/juju-deployer/.tox/py35/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/home/tvansteenburgh/src/juju-deployer/deployer/tests/test_importer.py", line 74, in test_importer_with_resources
os.path.join(self.test_data_dir, 'wiki-resources.yaml')])
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 34, in __init__
self.load()
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 92, in load
for fp in self._resolve_included():
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 141, in _resolve_included
[files.extend(self._includes(cf)) for cf in self.config_files]
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 141, in <listcomp>
[files.extend(self._includes(cf)) for cf in self.config_files]
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 123, in _includes
d = self._yaml_load(config_file)
File "/home/tvansteenburgh/src/juju-deployer/deployer/config.py", line 51, in _yaml_load
with open(config_file) as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tvansteenburgh/src/juju-deployer/deployer/tests/test_data/wiki-resources.yaml'
Is there a wiki-resources.yaml file that didn't get included in the commit?
This LGTM but I hit one error in the tests:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= with_resources (deployer. tests.test_ importer. ImporterTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- tvansteenburgh/ src/juju- deployer/ .tox/py35/ lib/python3. 5/site- packages/ mock/mock. py", line 1305, in patched tvansteenburgh/ src/juju- deployer/ deployer/ tests/test_ importer. py", line 74, in test_importer_ with_resources path.join( self.test_ data_dir, 'wiki-resources .yaml') ]) tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 34, in __init__ tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 92, in load included( ): tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 141, in _resolve_included extend( self._includes( cf)) for cf in self.config_files] tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 141, in <listcomp> extend( self._includes( cf)) for cf in self.config_files] tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 123, in _includes load(config_ file) tvansteenburgh/ src/juju- deployer/ deployer/ config. py", line 51, in _yaml_load tvansteenburgh/ src/juju- deployer/ deployer/ tests/test_ data/wiki- resources. yaml'
ERROR: test_importer_
-------
Traceback (most recent call last):
File "/home/
return func(*args, **keywargs)
File "/home/
os.
File "/home/
self.load()
File "/home/
for fp in self._resolve_
File "/home/
[files.
File "/home/
[files.
File "/home/
d = self._yaml_
File "/home/
with open(config_file) as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/home/
Is there a wiki-resources.yaml file that didn't get included in the commit?