mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
* implement mirrorlist package generator * implement keyring package generator * docs update * do not skip empty lines * fill remote source for local packages * faq update
19 lines
285 B
Python
19 lines
285 B
Python
import pytest
|
|
|
|
from ahriman.core.sign.gpg import GPG
|
|
|
|
|
|
@pytest.fixture
|
|
def gpg_with_key(gpg: GPG) -> GPG:
|
|
"""
|
|
fixture for correct GPG
|
|
|
|
Args:
|
|
gpg(GPG): empty GPG fixture
|
|
|
|
Returns:
|
|
GPG: GPG test instance
|
|
"""
|
|
gpg.default_key = "key"
|
|
return gpg
|