mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[toranj] fix typos (#4917)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user