mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-25 19:59:57 +00:00
18 lines
281 B
Python
18 lines
281 B
Python
import pytest
|
|
|
|
from collections import namedtuple
|
|
|
|
|
|
_passwd = namedtuple("passwd", ["pw_dir"])
|
|
|
|
|
|
@pytest.fixture
|
|
def passwd() -> _passwd:
|
|
"""
|
|
get passwd structure for the user
|
|
|
|
Returns:
|
|
_passwd: passwd structure test instance
|
|
"""
|
|
return _passwd("home")
|