Add test to make sure this ain't reintroduced
This commit is contained in:
parent
0a2cacbba8
commit
4cd70138b6
@ -470,6 +470,9 @@ def test_dry_run_order(default_conf, mocker, side, exchange_name):
|
|||||||
pair='ETH/BTC', ordertype='limit', side=side, amount=1, rate=200)
|
pair='ETH/BTC', ordertype='limit', side=side, amount=1, rate=200)
|
||||||
assert 'id' in order
|
assert 'id' in order
|
||||||
assert f'dry_run_{side}_' in order["id"]
|
assert f'dry_run_{side}_' in order["id"]
|
||||||
|
assert order["side"] == side
|
||||||
|
assert order["type"] == "limit"
|
||||||
|
assert order["pair"] == "ETH/BTC"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("side", [
|
@pytest.mark.parametrize("side", [
|
||||||
|
Loading…
Reference in New Issue
Block a user