mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Clean up some tests
This commit is contained in:
parent
181b88dc75
commit
3ee7fe64ba
|
@ -1588,16 +1588,7 @@ def fetch_trades_result():
|
||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="function")
|
||||||
def trades_for_order2():
|
def trades_for_order2():
|
||||||
return [{'info': {'id': 34567,
|
return [{'info': {},
|
||||||
'orderId': 123456,
|
|
||||||
'price': '0.24544100',
|
|
||||||
'qty': '8.00000000',
|
|
||||||
'commission': '0.00800000',
|
|
||||||
'commissionAsset': 'LTC',
|
|
||||||
'time': 1521663363189,
|
|
||||||
'isBuyer': True,
|
|
||||||
'isMaker': False,
|
|
||||||
'isBestMatch': True},
|
|
||||||
'timestamp': 1521663363189,
|
'timestamp': 1521663363189,
|
||||||
'datetime': '2018-03-21T20:16:03.189Z',
|
'datetime': '2018-03-21T20:16:03.189Z',
|
||||||
'symbol': 'LTC/ETH',
|
'symbol': 'LTC/ETH',
|
||||||
|
@ -1609,16 +1600,7 @@ def trades_for_order2():
|
||||||
'cost': 1.963528,
|
'cost': 1.963528,
|
||||||
'amount': 4.0,
|
'amount': 4.0,
|
||||||
'fee': {'cost': 0.004, 'currency': 'LTC'}},
|
'fee': {'cost': 0.004, 'currency': 'LTC'}},
|
||||||
{'info': {'id': 34567,
|
{'info': {},
|
||||||
'orderId': 123456,
|
|
||||||
'price': '0.24544100',
|
|
||||||
'qty': '8.00000000',
|
|
||||||
'commission': '0.00800000',
|
|
||||||
'commissionAsset': 'LTC',
|
|
||||||
'time': 1521663363189,
|
|
||||||
'isBuyer': True,
|
|
||||||
'isMaker': False,
|
|
||||||
'isBestMatch': True},
|
|
||||||
'timestamp': 1521663363189,
|
'timestamp': 1521663363189,
|
||||||
'datetime': '2018-03-21T20:16:03.189Z',
|
'datetime': '2018-03-21T20:16:03.189Z',
|
||||||
'symbol': 'LTC/ETH',
|
'symbol': 'LTC/ETH',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user