Skip to content

Commit db091b4

Browse files
authored
Update test_all.py
Fix integration test
1 parent cb5adab commit db091b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration-test/test/test_all.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ def test_plutus(self):
278278

279279
non_nft_utxo = None
280280
for utxo in self.chain_context.utxos(str(taker_address)):
281-
if isinstance(utxo.output.amount, int):
281+
# multi_asset should be empty for collateral utxo
282+
if not utxo.output.amount.multi_asset:
282283
non_nft_utxo = utxo
283284
break
284285

0 commit comments

Comments
 (0)