Skip to content

Commit

Permalink
Updated tuple indices.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Jan 17, 2024
1 parent 179654c commit b40a1e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_purgatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b40a1e7

Please sign in to comment.