We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18dddb1 commit ed5624cCopy full SHA for ed5624c
1 file changed
tests/test_cardano_blocks.py
@@ -242,8 +242,8 @@ def test_block_latest_transactions_cbor(requests_mock):
242
def test_integration_block_latest_transactions_cbor():
243
if os.getenv('BLOCKFROST_PROJECT_ID_MAINNET'):
244
api = BlockFrostApi(project_id=os.getenv('BLOCKFROST_PROJECT_ID_MAINNET'))
245
- assert (api.block_latest_transactions_cbor() or
246
- api.block_latest_transactions_cbor() == [])
+ result = api.block_latest_transactions_cbor()
+ assert result or result == []
247
248
249
def test_block_transactions_cbor(requests_mock):
0 commit comments