mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-12-14 11:13:42 +00:00
16 lines
306 B
Python
16 lines
306 B
Python
import pytest
|
|
|
|
from ahriman.core.configuration import Configuration
|
|
from ahriman.core.sign.gpg import GPG
|
|
|
|
|
|
@pytest.fixture
|
|
def gpg(configuration: Configuration) -> GPG:
|
|
return GPG("x86_64", configuration)
|
|
|
|
|
|
@pytest.fixture
|
|
def gpg_with_key(gpg: GPG) -> GPG:
|
|
gpg.default_key = "key"
|
|
return gpg
|