Add test to make sure this ain't reintroduced

This commit is contained in:
Matthias 2019-03-08 21:17:21 +01:00
parent 0a2cacbba8
commit 4cd70138b6

View File

@ -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", [