def test_verify_long(self):
     self.setup_mnemonic_nopin_nopassphrase()
     with self.client:
         self.client.set_expected_responses([
             proto.ButtonRequest(code=proto.ButtonRequestType.Other),
             proto.ButtonRequest(code=proto.ButtonRequestType.Other),
             proto.Success(message="Message verified"),
         ])
         lisk.verify_message(
             self.client,
             bytes.fromhex(
                 "8bca6b65a1a877767b746ea0b3c4310d404aa113df99c1b554e1802d70185ab5"
             ),
             bytes.fromhex(
                 "458ca5896d0934866992268f7509b5e954d568b1251e20c19bd3149ee3c86ffb5a44d1c2a0abbb99a3ab4767272dbb0e419b4579e890a24919ebbbe6cc0f970f"
             ),
             "VeryLongMessage!" * 64,
         )
 def test_verify(self):
     self.setup_mnemonic_nopin_nopassphrase()
     with self.client:
         self.client.set_expected_responses([
             proto.ButtonRequest(code=proto.ButtonRequestType.Other),
             proto.ButtonRequest(code=proto.ButtonRequestType.Other),
             proto.Success(message="Message verified"),
         ])
         lisk.verify_message(
             self.client,
             bytes.fromhex(
                 "eb56d7bbb5e8ea9269405f7a8527fe126023d1db2c973cfac6f760b60ae27294"
             ),
             bytes.fromhex(
                 "7858ae7cd52ea6d4b17e800ca60144423db5560bfd618b663ffbf26ab66758563df45cbffae8463db22dc285dd94309083b8c807776085b97d05374d79867d05"
             ),
             "This is an example of a signed message.",
         )
 def test_verify_long(self):
     self.setup_mnemonic_nopin_nopassphrase()
     with self.client:
         self.client.set_expected_responses(
             [
                 proto.ButtonRequest(code=proto.ButtonRequestType.Other),
                 proto.ButtonRequest(code=proto.ButtonRequestType.Other),
                 proto.Success(message="Message verified"),
             ]
         )
         lisk.verify_message(
             self.client,
             bytes.fromhex(
                 "8bca6b65a1a877767b746ea0b3c4310d404aa113df99c1b554e1802d70185ab5"
             ),
             bytes.fromhex(
                 "458ca5896d0934866992268f7509b5e954d568b1251e20c19bd3149ee3c86ffb5a44d1c2a0abbb99a3ab4767272dbb0e419b4579e890a24919ebbbe6cc0f970f"
             ),
             "VeryLongMessage!" * 64,
         )
 def test_verify(self):
     self.setup_mnemonic_nopin_nopassphrase()
     with self.client:
         self.client.set_expected_responses(
             [
                 proto.ButtonRequest(code=proto.ButtonRequestType.Other),
                 proto.ButtonRequest(code=proto.ButtonRequestType.Other),
                 proto.Success(message="Message verified"),
             ]
         )
         lisk.verify_message(
             self.client,
             bytes.fromhex(
                 "eb56d7bbb5e8ea9269405f7a8527fe126023d1db2c973cfac6f760b60ae27294"
             ),
             bytes.fromhex(
                 "7858ae7cd52ea6d4b17e800ca60144423db5560bfd618b663ffbf26ab66758563df45cbffae8463db22dc285dd94309083b8c807776085b97d05374d79867d05"
             ),
             "This is an example of a signed message.",
         )