Exemplo n.º 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))
Exemplo n.º 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))