示例#1
0
 def test_wrong_parser(self):
     with self.assertRaisesRegex(ValueError,
                                 'does not contain LinkLayerTimeDUID'):
         duid = LinkLayerTimeDUID()
         duid.load_from(self.duid_bytes, length=len(self.duid_bytes))
示例#2
0
 def test_wrong_parser(self):
     with self.assertRaisesRegex(ValueError, 'does not contain LinkLayerTimeDUID'):
         duid = LinkLayerTimeDUID()
         duid.load_from(self.duid_bytes, length=len(self.duid_bytes))