mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-16 15:29:56 +00:00
improve setup command by --makeflags-jobs argument and fix repository sign on creation
This commit is contained in:
@ -363,6 +363,19 @@ def pacman(configuration: Configuration) -> Pacman:
|
||||
return Pacman("x86_64", configuration, refresh_database=0)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def passwd() -> MagicMock:
|
||||
"""
|
||||
get passwd structure for the user
|
||||
|
||||
Returns:
|
||||
MagicMock: passwd structure test instance
|
||||
"""
|
||||
passwd = MagicMock()
|
||||
passwd.pw_dir = "home"
|
||||
return passwd
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def remote_source() -> RemoteSource:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user