Formatting changes
This commit is contained in:
parent
920151934a
commit
0d30b32fdd
@ -704,9 +704,8 @@ def test_api_edge_disabled(botclient, mocker, ticker, fee, markets):
|
|||||||
assert rc.json() == {"error": "Error querying /api/v1/edge: Edge is not enabled."}
|
assert rc.json() == {"error": "Error querying /api/v1/edge: Edge is not enabled."}
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize('is_short,expected', [
|
||||||
'is_short,expected',
|
(
|
||||||
[(
|
|
||||||
True,
|
True,
|
||||||
{'best_pair': 'ETC/BTC', 'best_rate': -0.5, 'best_pair_profit_ratio': -0.005,
|
{'best_pair': 'ETC/BTC', 'best_rate': -0.5, 'best_pair_profit_ratio': -0.005,
|
||||||
'profit_all_coin': 43.61269123,
|
'profit_all_coin': 43.61269123,
|
||||||
|
Loading…
Reference in New Issue
Block a user