Skip to content

Commit ad9427d

Browse files
committed
Don't automatically override endpoint in MockRunner
1 parent 695f17b commit ad9427d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/python_testing/test_testing/MockTestRunner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async def __call__(self, *args, **kwargs):
3838

3939
class MockTestRunner():
4040

41-
def __init__(self, filename: str, classname: str, test: str, endpoint: int = 0, pics: dict[str, bool] = None, paa_trust_store_path=None):
41+
def __init__(self, filename: str, classname: str, test: str, endpoint: int = None, pics: dict[str, bool] = None, paa_trust_store_path=None):
4242
self.test = test
4343
self.endpoint = endpoint
4444
self.pics = pics

src/python_testing/test_testing/test_TC_CCNTL_2_2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def main(th_server_app: str):
178178
print(f'paa = {paa_path}')
179179

180180
pics = {"PICS_SDK_CI_ONLY": True}
181-
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)
181+
test_runner = MyMock('TC_CCTRL_2_2', 'TC_CCTRL_2_2', 'test_TC_CCTRL_2_2', paa_trust_store_path=paa_path, pics=pics)
182182
config = MatterTestConfig()
183183
config.user_params = {'th_server_app_path': th_server_app}
184184
test_runner.set_test_config(config)

src/python_testing/test_testing/test_TC_MCORE_FS_1_1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def main(th_server_app: str):
149149
print(f'paa = {paa_path}')
150150

151151
pics = {"PICS_SDK_CI_ONLY": True}
152-
test_runner = MyMock('TC_MCORE_FS_1_1', 'TC_MCORE_FS_1_1', 'test_TC_MCORE_FS_1_1', 1, paa_trust_store_path=paa_path, pics=pics)
152+
test_runner = MyMock('TC_MCORE_FS_1_1', 'TC_MCORE_FS_1_1', 'test_TC_MCORE_FS_1_1', paa_trust_store_path=paa_path, pics=pics)
153153
config = MatterTestConfig()
154154
config.user_params = {'th_server_app_path': th_server_app}
155155
test_runner.set_test_config(config)

0 commit comments

Comments
 (0)