Skip to content

Commit

Permalink
Don't automatically override endpoint in MockRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Aug 7, 2024
1 parent 695f17b commit ad9427d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/python_testing/test_testing/MockTestRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def __call__(self, *args, **kwargs):

class MockTestRunner():

def __init__(self, filename: str, classname: str, test: str, endpoint: int = 0, pics: dict[str, bool] = None, paa_trust_store_path=None):
def __init__(self, filename: str, classname: str, test: str, endpoint: int = None, pics: dict[str, bool] = None, paa_trust_store_path=None):
self.test = test
self.endpoint = endpoint
self.pics = pics
Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/test_testing/test_TC_CCNTL_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def main(th_server_app: str):
print(f'paa = {paa_path}')

pics = {"PICS_SDK_CI_ONLY": True}
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)
test_runner = MyMock('TC_CCTRL_2_2', 'TC_CCTRL_2_2', 'test_TC_CCTRL_2_2', paa_trust_store_path=paa_path, pics=pics)
config = MatterTestConfig()
config.user_params = {'th_server_app_path': th_server_app}
test_runner.set_test_config(config)
Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/test_testing/test_TC_MCORE_FS_1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main(th_server_app: str):
print(f'paa = {paa_path}')

pics = {"PICS_SDK_CI_ONLY": True}
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)
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)
config = MatterTestConfig()
config.user_params = {'th_server_app_path': th_server_app}
test_runner.set_test_config(config)
Expand Down

0 comments on commit ad9427d

Please sign in to comment.