mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix test
This commit is contained in:
parent
d291ca0071
commit
9eca268a49
|
@ -150,6 +150,12 @@ def test_api__init__(default_conf, mocker):
|
||||||
"""
|
"""
|
||||||
Test __init__() method
|
Test __init__() method
|
||||||
"""
|
"""
|
||||||
|
default_conf.update({"api_server": {"enabled": True,
|
||||||
|
"listen_ip_address": "127.0.0.1",
|
||||||
|
"listen_port": 8080,
|
||||||
|
"username": "TestUser",
|
||||||
|
"password": "testPass",
|
||||||
|
}})
|
||||||
mocker.patch('freqtrade.rpc.telegram.Updater', MagicMock())
|
mocker.patch('freqtrade.rpc.telegram.Updater', MagicMock())
|
||||||
mocker.patch('freqtrade.rpc.api_server.ApiServer.run', MagicMock())
|
mocker.patch('freqtrade.rpc.api_server.ApiServer.run', MagicMock())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user