Small stylistic fixes

This commit is contained in:
Matthias
2019-11-16 14:47:44 +01:00
parent 79891671e9
commit 37f8139432
4 changed files with 20 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ def test_load_strategy_base64(result, caplog, default_conf):
def test_load_strategy_invalid_directory(result, caplog, default_conf):
default_conf['strategy'] = 'SampleStrategy'
default_conf['strategy'] = 'DefaultStrategy'
resolver = StrategyResolver(default_conf)
extra_dir = Path.cwd() / 'some/path'
resolver._load_strategy('DefaultStrategy', config=default_conf, extra_dir=extra_dir)

View File

@@ -457,6 +457,8 @@ def test_create_datadir(caplog, mocker):
def test_start_new_strategy(mocker, caplog):
wt_mock = mocker.patch.object(Path, "write_text", MagicMock())
mocker.patch.object(Path, "exists", MagicMock(return_value=False))
args = [
"new-strategy",
"--strategy",