add docker support (#52)

* add docker support

* make shellcheck happy
This commit is contained in:
2022-03-13 23:43:25 +03:00
committed by GitHub
parent 9964a96296
commit 046febc440
59 changed files with 429 additions and 103 deletions

View File

@ -82,7 +82,7 @@ def test_check_user(lock: Lock, mocker: MockerFixture) -> None:
"""
check_user_patch = mocker.patch("ahriman.application.lock.check_user")
lock.check_user()
check_user_patch.assert_called_once_with(lock.root)
check_user_patch.assert_called_once_with(lock.root, False)
def test_check_user_exception(lock: Lock, mocker: MockerFixture) -> None: