mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
extended test case to contain last_tx field
Signed-off-by: Juergen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
c6d07f1c8f
commit
17d683b3fa
@ -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']
|
||||
]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user