Add some test-coverage

This commit is contained in:
Matthias
2020-09-28 00:35:19 +02:00
parent f3de74f817
commit 15bb0af1b3
2 changed files with 29 additions and 4 deletions

View File

@@ -51,6 +51,9 @@ def test_get_latest_hyperopt_file(testdatadir, mocker):
res = get_latest_hyperopt_file(testdatadir.parent)
assert res == testdatadir.parent / "hyperopt_results.pickle"
res = get_latest_hyperopt_file(str(testdatadir.parent))
assert res == testdatadir.parent / "hyperopt_results.pickle"
def test_load_backtest_data_old_format(testdatadir):