We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a074c18 commit cacbd11Copy full SHA for cacbd11
tests/test_client.py
@@ -5,7 +5,7 @@
5
import pytest
6
7
from ankr.advanced_apis import AnkrAdvancedAPI
8
-from ankr.types import Blockchain, NftContractType
+from ankr.types import Blockchain
9
10
11
def test_client_api_key() -> None:
@@ -85,7 +85,7 @@ def test_get_nft_metadata(client: AnkrAdvancedAPI) -> None:
85
86
assert reply.metadata
87
assert reply.metadata.blockchain == "eth"
88
- assert reply.metadata.contract_type == NftContractType.ERC1155
+ assert reply.metadata.contract_type == "ERC1155"
89
assert reply.attributes
90
assert reply.attributes.name == "Overleveraged"
91
0 commit comments