Merge pull request #1246 from freqtrade/fix/network_test

Patch exchange to not cause network delays during tests
This commit is contained in:
Matthias 2018-09-30 08:42:38 +02:00 committed by GitHub
commit e1ddddad4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -997,6 +997,7 @@ def test_check_handle_timedout_buy_exception(default_conf, ticker, limit_buy_ord
fee, mocker) -> None:
rpc_mock = patch_RPCManager(mocker)
cancel_order_mock = MagicMock()
patch_exchange(mocker)
mocker.patch.multiple(
'freqtrade.exchange.Exchange',
validate_pairs=MagicMock(),