Skip to content
Snippets Groups Projects
Commit de5a7e96 authored by juga's avatar juga
Browse files

Stop using dir as arg in integration tests

parent 37cc9a4f
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,16 @@ def sbwshome_dir(sbwshome_empty):
@pytest.fixture(scope='session')
def args(sbwshome_dir, parser):
def test_config_path(tmpdir):
""""""
config = tmpdir.join('.sbws.ini')
return config
@pytest.fixture(scope='session')
def args(sbwshome_empty, parser, test_config_path):
"""Args with sbws home in the tests tmp dir."""
args = _PseudoArguments(directory=sbwshome_dir, output=sbwshome_dir,
args = _PseudoArguments(config=test_config_path, output=sbwshome_empty,
scale=False, log_level='debug')
return args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment