diff --git a/integration_tests/test_ica_precompile.py b/integration_tests/test_ica_precompile.py index f72f28516e..165299dcbe 100644 --- a/integration_tests/test_ica_precompile.py +++ b/integration_tests/test_ica_precompile.py @@ -182,7 +182,8 @@ def check_status(): def assert_packet_result(event, channel_id, seq, status): (logs) = event.getLogs() assert len(logs) > 0 - return logs[0].args == AttributeDict({"channel_id": channel_id, "seq": seq, "status": status}) + expected = AttributeDict({"channel_id": channel_id, "seq": seq, "status": status}) + return logs[0].args == expected def test_sc_call(ibc):