Remove api_server

This commit is contained in:
Matthias
2020-12-27 10:59:17 +01:00
parent 54a50b1fb4
commit 776ce57f55
3 changed files with 3 additions and 669 deletions

View File

@@ -5,23 +5,22 @@ Unit test file for rpc/api_server.py
from datetime import datetime, timedelta, timezone
from pathlib import Path
from unittest.mock import ANY, MagicMock, PropertyMock
from fastapi.applications import FastAPI
import pytest
from fastapi.testclient import TestClient
from fastapi import FastAPI
from fastapi.testclient import TestClient
from requests.auth import _basic_auth_str
from freqtrade.__init__ import __version__
from freqtrade.loggers import setup_logging, setup_logging_pre
from freqtrade.persistence import PairLocks, Trade
from freqtrade.rpc import RPC
from freqtrade.rpc.api_server111 import BASE_URI # , ApiServer
from freqtrade.rpc.api_server2 import ApiServer
from freqtrade.state import RunMode, State
from tests.conftest import create_mock_trades, get_patched_freqtradebot, log_has, patch_get_signal
BASE_URI = "/api/v1"
_TEST_USER = "FreqTrader"
_TEST_PASS = "SuperSecurePassword1!"