1
0
mirror of synced 2024-11-22 01:04:23 +01:00
mat2/tests
Antoine Tenart f19f6ed8b6 Rework the dependency checks to distinguish required/optional ones
Rework the dependencies definition to include a 'required' flags, which
is passed by the check_dependencies helper to the callers, so that they
can distinguish between required and optional dependencies.

This help in two ways:
- The unit test for the dependencies was now failing when an optional
  one was missing, due to a previous rework.
- Mat2's --check-dependencies was referring to "required dependencies"
  and was misleading for the user as some of them could be optional.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-05-13 23:35:26 +02:00
..
data Implement epub support 2019-02-20 16:28:11 -08:00
__init__.py Improve the testsuite 2018-03-18 21:42:12 +01:00
dirty.epub Implement epub support 2019-02-20 16:28:11 -08:00
test_climat2.py Test the cli's behaviour with valid and invalid files 2019-05-09 21:08:52 +02:00
test_corrupted_files.py Add some verification for "dangerous" tarfiles 2019-05-01 17:55:35 +02:00
test_deep_cleaning.py In archive-based formats, the mimetype file comes first 2019-02-24 23:32:32 +01:00
test_libmat2.py Rework the dependency checks to distinguish required/optional ones 2019-05-13 23:35:26 +02:00
test_lightweigh_cleaning.py Add a test for tiff lightweight cleaning 2018-10-24 20:19:36 +02:00
test_policy.py Fix some minor formatting issues 2018-09-24 19:50:24 +02:00