add mocked lib folder for module update dir test
This commit is contained in:
parent
fe326c84a4
commit
ba726e2047
3 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -19,6 +19,7 @@ downloads/
|
|||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
!tests/mock_device/lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
|
|
|
|||
0
tests/mock_device/lib/adafruit_waveform/.gitkeep
Normal file
0
tests/mock_device/lib/adafruit_waveform/.gitkeep
Normal 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue