improve setup command by --makeflags-jobs argument and fix repository sign on creation

This commit is contained in:
2022-11-29 16:06:41 +02:00
parent 0161617e36
commit 01eda513cf
8 changed files with 54 additions and 26 deletions

View File

@ -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:
"""