

def test_converts_pubkey_to_pem(self):
    key = convert_pubkey(crypto_fixture.valid_pubkey)
    self.assertIsInstance(key, RSA._RSAobj)
    self.assertFalse(key.has_private())

dataset/ETHPy150Open richo/groundstation/test/test_crypto_rsaadaptor.py CryptoRSAAdaptorTestCase.test_converts_pubkey_to_pem/original