[pktverify] verify offline test info (#5525)

This commit allows running packet verification on a test info (.json)
directly without running the test procedure, which can be helpful for
developing and debugging packet verification code.
This commit is contained in:
Simon Lin
2020-09-27 11:22:49 -07:00
committed by GitHub
parent efccfe2252
commit f013a30409
3 changed files with 93 additions and 0 deletions
+1
View File
@@ -348,6 +348,7 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
return
test_info = self._test_info = {
'script': os.path.abspath(sys.argv[0]),
'testcase': self.test_name,
'start_time': time.ctime(self._start_time),
'pcap': '',