Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq committed Sep 18, 2024
1 parent a70bf71 commit aa41a5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/python_testing/TC_MCORE_FS_1_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _generate_verifier(passcode: int, salt: bytes, iterations: int) -> bytes:


@dataclass
class _SetupParamters:
class _SetupParameters:
setup_qr_code: str
manual_code: int
discriminator: int
Expand Down Expand Up @@ -83,8 +83,8 @@ def teardown_class(self):

async def _create_th_server(self, port):
# These are default testing values
setup_params = _SetupParamters(setup_qr_code="MT:-24J0AFN00KA0648G00",
manual_code=34970112332, discriminator=3840, passcode=20202021)
setup_params = _SetupParameters(setup_qr_code="MT:-24J0AFN00KA0648G00",
manual_code=34970112332, discriminator=3840, passcode=20202021)
kvs = f'kvs_{str(uuid.uuid4())}'

cmd = [self._th_server_app_path]
Expand All @@ -101,7 +101,7 @@ async def _create_th_server(self, port):
time.sleep(3)
return setup_params

def _ask_for_vendor_commissioning_ux_operation(self, setup_params: _SetupParamters):
def _ask_for_vendor_commissioning_ux_operation(self, setup_params: _SetupParameters):
self.wait_for_user_input(
prompt_msg=f"Using the DUT vendor's provided interface, commission the ICD device using the following parameters:\n"
f"- discriminator: {setup_params.discriminator}\n"
Expand Down
8 changes: 4 additions & 4 deletions src/python_testing/TC_MCORE_FS_1_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _generate_verifier(passcode: int, salt: bytes, iterations: int) -> bytes:


@dataclass
class _SetupParamters:
class _SetupParameters:
setup_qr_code: str
manual_code: int
discriminator: int
Expand Down Expand Up @@ -86,8 +86,8 @@ def teardown_class(self):

async def _create_th_server(self, port):
# These are default testing values
setup_params = _SetupParamters(setup_qr_code="MT:-24J0AFN00KA0648G00",
manual_code=34970112332, discriminator=3840, passcode=20202021)
setup_params = _SetupParameters(setup_qr_code="MT:-24J0AFN00KA0648G00",
manual_code=34970112332, discriminator=3840, passcode=20202021)
kvs = f'kvs_{str(uuid.uuid4())}'

cmd = [self._th_server_app_path]
Expand All @@ -104,7 +104,7 @@ async def _create_th_server(self, port):
time.sleep(3)
return setup_params

def _ask_for_vendor_commissioning_ux_operation(self, setup_params: _SetupParamters):
def _ask_for_vendor_commissioning_ux_operation(self, setup_params: _SetupParameters):
self.wait_for_user_input(
prompt_msg=f"Using the DUT vendor's provided interface, commission the ICD device using the following parameters:\n"
f"- discriminator: {setup_params.discriminator}\n"
Expand Down

0 comments on commit aa41a5a

Please sign in to comment.