[toranj] fix typos (#4917)

This commit is contained in:
Abtin Keshavarzian
2020-04-29 23:03:27 -07:00
committed by GitHub
parent 56cf651fb2
commit 4cf2abc24e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -176,12 +176,12 @@ all_gettable_props = [
all_posix_gettable_props = [wpan.WPAN_RCP_VERSION] 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.set(wpan.WPAN_PARTITION_ID, '12345678')
node.form('get-set') 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) verify(int(node.get(wpan.WPAN_PARTITION_ID), 0) == 12345678)
for prop in all_gettable_props: for prop in all_gettable_props:
@@ -80,11 +80,11 @@ verify(j.get(wpan.WPAN_STATE) == wpan.STATE_COMMISSIONED)
j.joiner_attach() j.joiner_attach()
def joiner_is_asscoated(): def joiner_is_associated():
verify(j.is_associated()) verify(j.is_associated())
wpan.verify_within(joiner_is_asscoated, WAIT_TIME) wpan.verify_within(joiner_is_associated, WAIT_TIME)
# ----------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------
# Test finished # Test finished