コード例 #1
0
 def test_address_fail(self):
     with self.assertRaises(RuntimeError):
         get_public_key_from_address("17uUag1hS4GX7KQync4Jt3ufNS9926Axpk")
コード例 #2
0
 def test_address(self):
     pub_string = get_public_key_from_address(self.address)
     self.assertEquals(pub_string, self.pub_string)