extended test case to contain last_tx field

Signed-off-by: Juergen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Juergen Eckel 2019-10-08 01:07:04 +02:00
parent c6d07f1c8f
commit 17d683b3fa

View File

@ -382,11 +382,13 @@ def test_transactions_get_list_good(client):
url = TX_ENDPOINT + '?asset_id=' + asset_id
assert client.get(url).json == [
['asset_id', asset_id],
['last_tx', None],
['operation', None]
]
url = TX_ENDPOINT + '?asset_id=' + asset_id + '&operation=CREATE'
assert client.get(url).json == [
['asset_id', asset_id],
['last_tx', None],
['operation', 'CREATE']
]