def test_split_icon_address(self):
     address = create_address()
     prefix, body = split_icon_address(str(address))
     self.assertEqual(prefix, str(address.prefix))
     self.assertEqual(body, bytes.hex(address.body))
 def test_split_icon_address(self):
     address = create_address()
     prefix, body = split_icon_address(str(address))
     assert prefix == str(address.prefix)
     assert body == bytes.hex(address.body)