mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[thread-cert] refactor case 9.2.4 using pktverify (#5412)
1. add timestamp parse and check 2. add leader aloc parse and check
This commit is contained in:
@@ -269,6 +269,13 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
|
||||
for i, node in self.nodes.items():
|
||||
test_info['rlocs'][i] = node.get_rloc()
|
||||
|
||||
def collect_leader_aloc(self, node):
|
||||
if not self._do_packet_verification:
|
||||
return
|
||||
|
||||
test_info = self._test_info
|
||||
test_info['leader_aloc'] = self.nodes[node].get_addr_leader_aloc()
|
||||
|
||||
def collect_extra_vars(self, **vars):
|
||||
if not self._do_packet_verification:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user