def test_create_asymmetric_key_with_invalid_algorithm(self):
        engine = crypto.CryptographyEngine()

        args = ['invalid', 2048]
        self.assertRaises(
            exceptions.InvalidField,
            engine.create_asymmetric_key_pair,
            *args
        )
Test that an InvalidField error is raised when creating an asymmetric
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/services/server/crypto/test_engine.py/TestCryptographyEngine.test_create_asymmetric_key_with_invalid_algorithm