@@ -20,24 +20,24 @@ def test_integration_token_info_query_can_execute():
2020
2121 info = TokenInfoQuery (token_id ).execute (env .client )
2222
23- assert str (info .tokenId ) == str (token_id ), "Token ID mismatch"
23+ assert str (info .token_id ) == str (token_id ), "Token ID mismatch"
2424 assert info .name == "PTokenTest34" , "Name mismatch"
2525 assert info .symbol == "PTT34" , "Symbol mismatch"
2626 assert info .decimals == 3 , "Decimals mismatch"
2727 assert str (info .treasury ) == str (env .operator_id ), "Treasury mismatch"
28- assert info .tokenType == TokenType .FUNGIBLE_COMMON , "Token type mismatch"
29- assert info .supplyType == SupplyType .FINITE , "Supply type mismatch"
30- assert info .maxSupply == 10000 , "Max supply mismatch"
28+ assert info .token_type == TokenType .FUNGIBLE_COMMON , "Token type mismatch"
29+ assert info .supply_type == SupplyType .FINITE , "Supply type mismatch"
30+ assert info .max_supply == 10000 , "Max supply mismatch"
3131
32- assert info .adminKey is not None , "Admin key should not be None"
33- assert info .freezeKey is not None , "Freeze key should not be None"
34- assert info .wipeKey is None , "Wipe key should be None"
35- assert info .supplyKey is not None , "Supply key should not be None"
36- assert info .kycKey is None , "KYC key should be None"
32+ assert info .admin_key is not None , "Admin key should not be None"
33+ assert info .freeze_key is not None , "Freeze key should not be None"
34+ assert info .wipe_key is None , "Wipe key should be None"
35+ assert info .supply_key is not None , "Supply key should not be None"
36+ assert info .kyc_key is None , "KYC key should be None"
3737
38- assert str (info .adminKey ) == str (env .operator_key .public_key ()), "Admin key mismatch"
39- assert str (info .freezeKey ) == str (env .operator_key .public_key ()), "Freeze key mismatch"
40- assert str (info .supplyKey ) == str (env .operator_key .public_key ()), "Supply key mismatch"
38+ assert str (info .admin_key ) == str (env .operator_key .public_key ()), "Admin key mismatch"
39+ assert str (info .freeze_key ) == str (env .operator_key .public_key ()), "Freeze key mismatch"
40+ assert str (info .supply_key ) == str (env .operator_key .public_key ()), "Supply key mismatch"
4141 finally :
4242 env .close ()
4343
0 commit comments