Presume that pytest will call the cleanup call
This commit is contained in:
parent
2873ca6d38
commit
f5c2930889
@ -12,7 +12,7 @@ from tests.conftest import get_args, patch_exchange, patched_configuration_load_
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def backtesting_cleanup() -> None:
|
def entryexitanalysis_cleanup() -> None:
|
||||||
yield None
|
yield None
|
||||||
|
|
||||||
Backtesting.cleanup()
|
Backtesting.cleanup()
|
||||||
@ -103,5 +103,3 @@ def test_backtest_analysis_nomock(default_conf, mocker, caplog, testdatadir, cap
|
|||||||
captured = capsys.readouterr()
|
captured = capsys.readouterr()
|
||||||
assert 'enter_tag_long' in captured.out
|
assert 'enter_tag_long' in captured.out
|
||||||
assert '34.049' in captured.out
|
assert '34.049' in captured.out
|
||||||
|
|
||||||
Backtesting.cleanup()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user