add mocked lib folder for module update dir test

This commit is contained in:
foamyguy 2024-04-08 08:40:53 -05:00
parent fe326c84a4
commit ba726e2047
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -19,6 +19,7 @@ downloads/
eggs/
.eggs/
lib/
!tests/mock_device/lib/
lib64/
parts/
sdist/

View file

@ -443,7 +443,7 @@ def test_Module_update_dir():
with mock.patch("circup.backends.shutil") as mock_shutil, mock.patch(
"circup.logger.warning"
) as mock_logger:
backend = DiskBackend("mock_device", mock_logger)
backend = DiskBackend("tests/mock_device", mock_logger)
m = Module(
name,
backend,