def test_from_pem_testnet(self): key = PrivateKey.from_pem(PRIVATE_KEY_PEM, network='test') assert isinstance(key, PrivateKey) assert key.network == 'test' assert key.to_pem() == PRIVATE_KEY_PEM
def test_from_pem(self): key = PrivateKey.from_pem(PRIVATE_KEY_PEM) assert isinstance(key, PrivateKey) assert key.to_pem() == PRIVATE_KEY_PEM