Remove pytest fixture for creating gpg keys
@@ -342,22 +342,6 @@ YEWYFA0MxyZQhRqEDH2whr+QyWr5155N7kzHnUxbwos66sfcCmCH7iZHbN7q828=
"""
-@pytest.fixture()
-def gnupg_generated_key(gnupg_instance: GPG):
- key = gnupg_instance.gen_key(
- input="Key-Type: RSA\n"
- "Key-Length: 1024\n"
- "Name-Real: Autogenerated Key\n"
- "Name-Email: packit@packit\n"
- "%no-protection\n"
- "%commit\n"
- )
-
- yield key
-
- gnupg_instance.delete_keys(key.fingerprint)
-
-
@pytest.fixture()
def gnupg_key_fingerprint(gnupg_instance: GPG, private_gpg_key: str):
keys_imported = gnupg_instance.import_keys(private_gpg_key)
