remove print from test, uncomment a test assert

This commit is contained in:
Jack Robison 2022-01-21 12:35:44 -05:00
parent d7ecde7040
commit f7deaa3303
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -1329,9 +1329,8 @@ class ResolveClaimTakeovers(BaseResolveTestCase):
# abandon the support that causes the winning claim to have the highest staked
tx = await self.daemon.jsonrpc_txo_spend(type='support', txid=controlling_support_tx.id)
await self.generate(1)
await self.assertMatchClaim(second_claim_id, is_active_in_lbrycrd=False)
await self.assertMatchClaimIsWinning(name, first_claim_id)
# await self.assertMatchClaim(second_claim_id)
await self.generate(1)
await self.assertMatchClaim(first_claim_id)
@ -1483,7 +1482,7 @@ class ResolveAfterReorg(BaseResolveTestCase):
self.conductor.spv_node.server.synchronized.clear()
# go back to start
print('invalidate block', await self.blockchain.invalidate_block((await self.ledger.headers.hash(start)).decode()))
await self.blockchain.invalidate_block((await self.ledger.headers.hash(start)).decode())
# go to previous + 1
await self.blockchain.generate(blocks + 2)