Skip to content

Commit cacbd11

Browse files
committed
Fix tests
1 parent a074c18 commit cacbd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66

77
from ankr.advanced_apis import AnkrAdvancedAPI
8-
from ankr.types import Blockchain, NftContractType
8+
from ankr.types import Blockchain
99

1010

1111
def test_client_api_key() -> None:
@@ -85,7 +85,7 @@ def test_get_nft_metadata(client: AnkrAdvancedAPI) -> None:
8585

8686
assert reply.metadata
8787
assert reply.metadata.blockchain == "eth"
88-
assert reply.metadata.contract_type == NftContractType.ERC1155
88+
assert reply.metadata.contract_type == "ERC1155"
8989
assert reply.attributes
9090
assert reply.attributes.name == "Overleveraged"
9191

0 commit comments

Comments
 (0)