stable/freqtrade/tests
creslinux 631df64c68 To better align with multiple client protocols, this PR
Refactors the existing RPC directory, classes, defs as below.
This is to better reflect the nature of the files/classes/defs to support other clients - such as rest

The code is functional, ive tested every RPC button in Telegram.
1 unit test is failing ( they all were till find_replace) in test_rpc_telegram.

Can I ask for anothers opinion on why this 1 test fails, im at loss to debug
- mocker is stretching my working knowledge of python -

Ive renamed common methods from RPC_method_name to server_method_name
e.g rpc_stop becomes server_stop, the super class is CLIENTS not RPC as it is agnostic to RPC

freqtrade/rcp/ - rpc.py
......................- rpc_manager.py
......................- telegram.py

to:

freqtrade/clients/client_manager.py (was rpc_manager
......................-common/client.py (was rpc.py - but is agnostic to what client calls)
......................-rpc/telegram.py
......................-rpc/*discord.py (example future RPC client
......................-rest/*cmd line.py (example future rest cmdline rest client
......................-rest/*web.py (example future rest web client
2018-06-09 09:03:22 +00:00
..
clients To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
exchange Test keyerror exception 2018-06-06 21:24:57 +02:00
optimize bot should not repaint: do not include last partial candle in analysis 2018-06-07 20:23:09 +03:00
strategy Merge branch 'develop' into feat/objectify-ccxt 2018-05-02 22:49:55 +02:00
testdata move download_backtest_data to scripts 2018-04-22 10:56:49 +03:00
__init__.py integrate hyperopt and implement subcommand 2017-11-25 01:04:11 +01:00
conftest.py To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
test_acl_pair.py Update tests related to whitelist 2018-04-12 18:07:44 +02:00
test_analyze.py flake8 fixes 2018-06-07 20:23:09 +03:00
test_arguments.py Add missing unit test for Arguments::testdata_dl_options() 2018-06-07 22:13:50 -07:00
test_configuration.py adapt tests 2018-06-08 02:01:38 +02:00
test_constants.py define constants on module level (#596) 2018-04-02 16:42:53 +02:00
test_dataframe.py Merge branch 'develop' into feat/objectify-ccxt 2018-05-02 22:49:55 +02:00
test_fiat_convert.py Cover a edge case of CryptoToFiatConverter::_find_price() 2018-06-07 22:13:50 -07:00
test_freqtradebot.py To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
test_indicator_helpers.py optimize imports 2018-03-20 19:50:04 +01:00
test_main.py To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
test_misc.py bot should not repaint: do not include last partial candle in analysis 2018-06-07 20:23:09 +03:00
test_persistence.py handle sqlalchemy NoSuchModuleError 2018-06-07 21:35:57 +02:00
test_state.py Add a Enum class State that contains Bot running states 2018-03-03 09:33:54 +08:00