mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[tests] properly configure operational dataset in BR tests (#9209)
This commit is contained in:
@@ -2557,8 +2557,13 @@ class NodeImpl:
|
||||
panid=None,
|
||||
pskc=None,
|
||||
security_policy=[],
|
||||
updateExisting=False,
|
||||
):
|
||||
self.send_command('dataset clear', go=False)
|
||||
|
||||
if updateExisting:
|
||||
self.send_command('dataset init active', go=False)
|
||||
else:
|
||||
self.send_command('dataset clear', go=False)
|
||||
self._expect_done()
|
||||
|
||||
if timestamp is not None:
|
||||
|
||||
Reference in New Issue
Block a user