Exemplo n.º 1
0
 def test_wrong_parser(self):
     with self.assertRaisesRegex(ValueError,
                                 'does not contain LinkLayerDUID'):
         duid = LinkLayerDUID()
         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 LinkLayerDUID'):
         duid = LinkLayerDUID()
         duid.load_from(self.duid_bytes, length=len(self.duid_bytes))