flake8 again and again and again and again

https://www.youtube.com/watch?v=MuSK3pDDYD4
This commit is contained in:
misagh 2018-11-02 20:12:48 +01:00
parent d1ba994e54
commit ece1c8a702

View File

@ -202,13 +202,14 @@ def test_process_expectancy(mocker, default_conf):
final = edge._process_expectancy(trades_df) final = edge._process_expectancy(trades_df)
assert len(final) == 1 assert len(final) == 1
assert final[0][0] == 'TEST/BTC' assert final[0][0] == 'TEST/BTC'
assert final[0][1] == -0.9 assert final[0][1] == -0.9
assert round(final[0][2], 10) == 0.3333333333 assert round(final[0][2], 10) == 0.3333333333
assert round(final[0][3], 10) == 306.5384615384 assert round(final[0][3], 10) == 306.5384615384
assert round(final[0][4], 10) == 2.0 assert round(final[0][4], 10) == 2.0
assert round(final[0][5], 10) == 101.5128205128 assert round(final[0][5], 10) == 101.5128205128
# 1) Open trade should be removed from the end # 1) Open trade should be removed from the end
def test_case_1(mocker, default_conf): def test_case_1(mocker, default_conf):
exchange = get_patched_exchange(mocker, default_conf) exchange = get_patched_exchange(mocker, default_conf)