From b40a1e79e2532a8ffa4cc94a47bea22b2db4d60b Mon Sep 17 00:00:00 2001 From: Maria Carmina Date: Wed, 17 Jan 2024 14:49:44 +0200 Subject: [PATCH] Updated tuple indices. --- tests/test_purgatory.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_purgatory.py b/tests/test_purgatory.py index f7bb226a..0b02475d 100644 --- a/tests/test_purgatory.py +++ b/tests/test_purgatory.py @@ -147,9 +147,7 @@ def test_purgatory_retrieve_account_list(events_object, monkeypatch): assert result filter_by_address = { - x["reason"] - for x in result - if x["address"] == "0xAD23fC9D943018C34aC55E8DA29AF700A2Fd0FeB" + x[1] for x in result if x[0] == "0xAD23fC9D943018C34aC55E8DA29AF700A2Fd0FeB" } assert len(filter_by_address) == 1 assert list(filter_by_address)[0] == "bad actor"