def test_rsa_init(tmpdir): path = tmpdir.strpath res = rsa_init({ 'use': ['enc'], 'type': 'RSA', 'size': 1024, 'name': os.path.join(path, "rsa_enc") }) assert res
def test_rsa_init(tmpdir): path = tmpdir.strpath res = rsa_init( { "use": ["enc"], "type": "RSA", "size": 1024, "name": os.path.join(path, "rsa_enc"), } ) assert res
def test_rsa_init(): path = "." res = rsa_init({'use': ['enc'], 'type': 'RSA', 'size': 1024, 'name': os.path.join(path, "rsa_enc")}) assert res