another fix to nft tests

This commit is contained in:
Sebastjan 2022-06-17 20:20:16 +02:00
parent a8f4b14b9d
commit 4de766c190
No known key found for this signature in database
GPG Key ID: 1495E61EB5446A69

View File

@ -45,9 +45,8 @@ async def wait_rpc_state_condition(
if condition_func(resp):
return resp
await asyncio.sleep(0.5)
else:
# timed out
assert time.monotonic() - start < timeout, resp
# timed out
assert time.monotonic() - start < timeout, resp
return {}