Merge pull request #6604 from SmartManoj/patch-3

Corrected test_create_order
This commit is contained in:
Matthias 2022-03-28 16:19:03 +02:00 committed by GitHub
commit 9aa821a953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1098,7 +1098,7 @@ def test_create_order(default_conf, mocker, side, ordertype, rate, marketprice,
exchange = get_patched_exchange(mocker, default_conf, api_mock, id=exchange_name) exchange = get_patched_exchange(mocker, default_conf, api_mock, id=exchange_name)
order = exchange.create_order( order = exchange.create_order(
pair='ETH/BTC', ordertype=ordertype, side=side, amount=1, rate=200) pair='ETH/BTC', ordertype=ordertype, side=side, amount=1, rate=rate)
assert 'id' in order assert 'id' in order
assert 'info' in order assert 'info' in order