From 9eca268a498ed129299dd9910f01f5bf1ea81363 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 10 May 2020 20:00:19 +0200 Subject: [PATCH] Fix test --- tests/rpc/test_rpc_apiserver.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/rpc/test_rpc_apiserver.py b/tests/rpc/test_rpc_apiserver.py index 0d4cdeb2f..5d8f79920 100644 --- a/tests/rpc/test_rpc_apiserver.py +++ b/tests/rpc/test_rpc_apiserver.py @@ -150,6 +150,12 @@ def test_api__init__(default_conf, mocker): """ 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.api_server.ApiServer.run', MagicMock())