summaryrefslogtreecommitdiff
path: root/tests/test_cards.py
AgeCommit message (Collapse)Author
2021-12-25Make sure unit tests can be run from outside the packageOlivier Gayot
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>
2021-12-23Use lowercase module namesOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2020-05-14Use unittest machanism to assert on exceptionsOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2020-05-12Add unit tests for swifstory.cardsOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>