diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-25 13:40:58 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-25 14:25:20 +0100 |
commit | 65406f7b72f4004e4483573640cf0d555877dd55 (patch) | |
tree | b9776c2cff52c1f6e9592b2f5613068b618421f7 /tests/test_status.py | |
parent | 0bdaea4591fae05a1a93b6ddcf066f92e8f224f4 (diff) |
Make sure unit tests can be run from outside the package
The cards from usr/share are not accessible when running the tests from
a temporary directory. This happens for instance when running
$ pybuild --test --test-pytest
Make sure that this command would succeed by mocking the calls to open.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'tests/test_status.py')
0 files changed, 0 insertions, 0 deletions