diff --git a/tests/toranj/test-001-get-set.py b/tests/toranj/test-001-get-set.py index 023d430ee..cdc7b8082 100644 --- a/tests/toranj/test-001-get-set.py +++ b/tests/toranj/test-001-get-set.py @@ -176,12 +176,12 @@ all_gettable_props = [ all_posix_gettable_props = [wpan.WPAN_RCP_VERSION] -# note: partitionid only takes effect after forming one Thread network. +# note: Partition Id only takes effect after forming one Thread network. node.set(wpan.WPAN_PARTITION_ID, '12345678') node.form('get-set') -# verify that partitionid property is indeed changed. +# verify that Partition Id property is indeed changed. verify(int(node.get(wpan.WPAN_PARTITION_ID), 0) == 12345678) for prop in all_gettable_props: diff --git a/tests/toranj/test-031-meshcop-joiner-commissioner.py b/tests/toranj/test-031-meshcop-joiner-commissioner.py index 7160c6aec..eaee3fad9 100644 --- a/tests/toranj/test-031-meshcop-joiner-commissioner.py +++ b/tests/toranj/test-031-meshcop-joiner-commissioner.py @@ -80,11 +80,11 @@ verify(j.get(wpan.WPAN_STATE) == wpan.STATE_COMMISSIONED) j.joiner_attach() -def joiner_is_asscoated(): +def joiner_is_associated(): verify(j.is_associated()) -wpan.verify_within(joiner_is_asscoated, WAIT_TIME) +wpan.verify_within(joiner_is_associated, WAIT_TIME) # ----------------------------------------------------------------------------------------------------------------------- # Test finished