@@ -105,16 +105,15 @@ class TestCommittee:
105105 @pytest .mark .smoke
106106 def test_register_hot_key_no_cc_member (
107107 self ,
108- cluster_use_committee : governance_utils . GovClusterT ,
109- payment_addr_comm : clusterlib .AddressRecord ,
108+ cluster : clusterlib . ClusterLib ,
109+ pool_user : clusterlib .PoolUser ,
110110 use_build_cmd : bool ,
111111 submit_method : str ,
112112 ):
113113 """Try to submit a Hot Credential Authorization certificate without being a CC member.
114114
115115 Expect failure.
116116 """
117- cluster , __ = cluster_use_committee
118117 temp_template = common .get_test_id (cluster )
119118
120119 cc_auth_record = governance_utils .get_cc_member_auth_record (
@@ -124,15 +123,15 @@ def test_register_hot_key_no_cc_member(
124123
125124 tx_files_auth = clusterlib .TxFiles (
126125 certificate_files = [cc_auth_record .auth_cert ],
127- signing_key_files = [payment_addr_comm .skey_file , cc_auth_record .cold_key_pair .skey_file ],
126+ signing_key_files = [pool_user . payment .skey_file , cc_auth_record .cold_key_pair .skey_file ],
128127 )
129128
130129 # Try to submit a Hot Credential Authorization certificate without being a CC member
131130 with pytest .raises ((clusterlib .CLIError , submit_api .SubmitApiError )) as excinfo :
132131 clusterlib_utils .build_and_submit_tx (
133132 cluster_obj = cluster ,
134133 name_template = f"{ temp_template } _auth" ,
135- src_address = payment_addr_comm .address ,
134+ src_address = pool_user . payment .address ,
136135 submit_method = submit_method ,
137136 use_build_cmd = use_build_cmd ,
138137 tx_files = tx_files_auth ,
0 commit comments