Skip to content

Commit

Permalink
change test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Apr 9, 2024
1 parent 134aa8a commit 5dee890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_purgatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ def test_purgatory_with_assets(client, base_ddo_url, events_object, monkeypatch)
assert published_ddo["purgatory"]["state"] is False


def test_update_lists_with_accounts(client, base_ddo_url, events_object, monkeypatch):
def test_get_assets_authored_by_account(client, base_ddo_url, events_object, monkeypatch):
monkeypatch.setenv(
"ACCOUNT_PURGATORY_URL",
"https://raw.githubusercontent.com/oceanprotocol/list-purgatory/main/list-accounts.json",
)
purgatory = Purgatory(events_object._es_instance)
purgatory.update_lists()
print(purgatory.get_assets_authored_by("0x279e112d0D182A7234Fe11D0363B3C6f2edd71e4"))


def test_purgatory_with_accounts(client, base_ddo_url, events_object, monkeypatch):
Expand Down

0 comments on commit 5dee890

Please sign in to comment.