@@ -38,8 +38,8 @@ def test_integration_token_update_transaction_can_execute():
3838
3939 assert info .name == "UpdatedName" , "Token failed to update"
4040 assert info .symbol == "UPD" , "Token symbol failed to update"
41- assert info .freezeKey .to_bytes_raw () == private_key .public_key ().to_bytes_raw (), "Freeze key did not update correctly"
42- assert info .adminKey .to_bytes_raw () == env .public_operator_key .to_bytes_raw (), "Admin key mismatch after update"
41+ assert info .freeze_key .to_bytes_raw () == private_key .public_key ().to_bytes_raw (), "Freeze key did not update correctly"
42+ assert info .admin_key .to_bytes_raw () == env .public_operator_key .to_bytes_raw (), "Admin key mismatch after update"
4343 finally :
4444 env .close ()
4545
@@ -74,10 +74,10 @@ def test_integration_token_update_preserves_fields_without_updating_parameters()
7474 assert info .memo == original_info .memo , "Token memo should not have changed"
7575 assert info .metadata == original_info .metadata , "Token metadata should not have changed"
7676 assert info .treasury == original_info .treasury , "Token treasury should not have changed"
77- assert info .adminKey .to_bytes_raw () == original_info .adminKey .to_bytes_raw (), "Admin key should not have changed"
78- assert info .freezeKey .to_bytes_raw () == original_info .freezeKey .to_bytes_raw (), "Freeze key should not have changed"
79- assert info .wipeKey .to_bytes_raw () == original_info .wipeKey .to_bytes_raw (), "Wipe key should not have changed"
80- assert info .supplyKey .to_bytes_raw () == original_info .supplyKey .to_bytes_raw (), "Supply key should not have changed"
77+ assert info .admin_key .to_bytes_raw () == original_info .adminKey .to_bytes_raw (), "Admin key should not have changed"
78+ assert info .freeze_key .to_bytes_raw () == original_info .freezeKey .to_bytes_raw (), "Freeze key should not have changed"
79+ assert info .wipe_key .to_bytes_raw () == original_info .wipeKey .to_bytes_raw (), "Wipe key should not have changed"
80+ assert info .supply_key .to_bytes_raw () == original_info .supplyKey .to_bytes_raw (), "Supply key should not have changed"
8181 assert info .pause_key is None , "Pause key should not have changed"
8282 finally :
8383 env .close ()
@@ -128,12 +128,12 @@ def test_integration_token_update_transaction_different_keys():
128128
129129 assert info .name == "UpdatedName" , "Token name mismatch"
130130 assert info .symbol == "UPD" , "Token symbol mismatch"
131- assert info .freezeKey .to_bytes_raw () == keys [1 ].public_key ().to_bytes_raw (), "Freeze key mismatch"
132- assert info .wipeKey .to_bytes_raw () == keys [2 ].public_key ().to_bytes_raw (), "Wipe key mismatch"
133- assert info .supplyKey .to_bytes_raw () == keys [3 ].public_key ().to_bytes_raw (), "Supply key mismatch"
131+ assert info .freeze_key .to_bytes_raw () == keys [1 ].public_key ().to_bytes_raw (), "Freeze key mismatch"
132+ assert info .wipe_key .to_bytes_raw () == keys [2 ].public_key ().to_bytes_raw (), "Wipe key mismatch"
133+ assert info .supply_key .to_bytes_raw () == keys [3 ].public_key ().to_bytes_raw (), "Supply key mismatch"
134134 assert info .metadata_key .to_bytes_raw () == keys [4 ].public_key ().to_bytes_raw (), "Metadata key mismatch"
135135 assert info .pause_key .to_bytes_raw () == keys [5 ].public_key ().to_bytes_raw (), "Pause key mismatch"
136- assert info .adminKey .to_bytes_raw () == env .public_operator_key .to_bytes_raw (), "Admin key mismatch"
136+ assert info .admin_key .to_bytes_raw () == env .public_operator_key .to_bytes_raw (), "Admin key mismatch"
137137 finally :
138138 env .close ()
139139
@@ -305,7 +305,7 @@ def test_integration_token_update_transaction_metadata_immutable_fungible_token(
305305 )
306306 assert info .metadata == b"" , "Initial metadata mismatch"
307307 assert info .metadata_key .to_bytes_raw () == metadata_key .public_key ().to_bytes_raw (), "Metadata key mismatch"
308- assert info .adminKey is None , "Admin key should be None"
308+ assert info .admin_key is None , "Admin key should be None"
309309
310310 # Update token with new metadata, signed by metadata key
311311 receipt = (
@@ -353,7 +353,7 @@ def test_integration_token_update_transaction_metadata_immutable_nft():
353353 )
354354 assert info .metadata == b"" , "Initial metadata mismatch"
355355 assert info .metadata_key .to_bytes_raw () == metadata_key .public_key ().to_bytes_raw (), "Metadata key mismatch"
356- assert info .adminKey is None , "Admin key should be None"
356+ assert info .admin_key is None , "Admin key should be None"
357357
358358 # Update token with new metadata, signed by metadata key
359359 receipt = (
0 commit comments