示例#1
0
 def test_unknown_network(self):
     with raises(PublicKey.UnknownNetwork):
         PublicKey(data['pubkey_pair'], network='a')
示例#2
0
 def test_invalid_pair(self):
     with raises(PublicKey.InvalidPair):
         PublicKey((0, 0))