def test_verify_not_implemented(self): p = ubirch.Protocol() try: p.message_verify(EXPECTED_SIGNED) except NotImplementedError as e: self.assertEqual(e.args[0], 'verification not implemented')
def test_sign_not_implemented(self): p = ubirch.Protocol() try: p.message_signed(TEST_UUID, 0xEF, 1) except NotImplementedError as e: self.assertEqual(e.args[0], 'signing not implemented')