Skip to content

Commit d4ef079

Browse files
committed
TC-CCTRL-2.2: Fix user params
1 parent f45fdb8 commit d4ef079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/python_testing/TC_CCTRL_2_2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TC_CCTRL_2_2(MatterBaseTest):
4545
async def setup_class(self):
4646
super().setup_class()
4747
# TODO: confirm whether we can open processes like this on the TH
48-
app = self.matter_test_config.user_params.get("th_server_app_path", None)
48+
app = self.user_params.get("th_server_app_path", None)
4949
if not app:
5050
asserts.fail('This test requires a TH_SERVER app. Specify app path with --string-arg th_server_app_path:<path_to_app>')
5151

src/python_testing/test_testing/test_TC_CCNTL_2_2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def main(th_server_app: str):
180180
pics = {"PICS_SDK_CI_ONLY": True}
181181
test_runner = MyMock('TC_CCTRL_2_2', 'TC_CCTRL_2_2', 'test_TC_CCTRL_2_2', 1, paa_trust_store_path=paa_path, pics=pics)
182182
config = MatterTestConfig()
183-
config.user_params = {'th_server_app_path': th_server_app}
183+
config.global_test_params = {'th_server_app_path': th_server_app}
184184
test_runner.set_test_config(config)
185185

186186
test_runner.run_test_with_mock(dynamic_invoke_return, dynamic_event_return, wildcard())

0 commit comments

Comments
 (0)