def test_uncompressed_stn(self): key = wif_to_key(WALLET_FORMAT_STN, network='stn') assert isinstance(key, PrivateKey) assert key.network == 'stn' assert not key.is_compressed()
def test_uncompressed_main(self): key = wif_to_key(WALLET_FORMAT_MAIN) assert isinstance(key, PrivateKey) assert not key.is_compressed()
def test_uncompressed_test(self): key = wif_to_key(WALLET_FORMAT_TEST) assert isinstance(key, PrivateKey) assert key.network == 'test' assert not key.is_compressed()
def test_compressed_test(self): key = wif_to_key(WALLET_FORMAT_COMPRESSED_TEST) assert isinstance(key, PrivateKeyTestnet) assert key.is_compressed()