Reduce diff by avoiding unnecessary changes

This commit is contained in:
Matthias
2022-09-08 07:01:37 +02:00
parent a50923f796
commit 045c3f0f3a
3 changed files with 9 additions and 28 deletions

View File

@@ -406,7 +406,6 @@ def test_api_cleanup(default_conf, mocker, caplog):
apiserver = ApiServer(default_conf)
apiserver.add_rpc_handler(RPC(get_patched_freqtradebot(mocker, default_conf)))
apiserver.start_api()
apiserver.cleanup()
assert apiserver._server.cleanup.call_count == 1