summaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)Author
2019-11-30This is mat2, not MAT2georg
Closes #131
2019-11-30Fix the testsuite on Python3.8jvoisin
There is a bug in Python3.8 (https://bugs.python.org/issue38688) triggering an infinite recursion when copying a tree in a subfolder of the current one. We're working around it by using a list instead of an iterator, so that Python won't "discover" the target folder as part of the source files. This should fix #130
2019-10-13Copy file permissionsjvoisin
Mat2 (the cli) will now copy the input file permissions to the output file.
2019-10-12Add a way to disable the sandboxjvoisin
Due to bubblewrap's pickiness, mat2 can now be run without a sandbox, even if bubblewrap is installed.
2019-10-12Refactor testsjvoisin
2019-10-12Remove an unused variablejvoisin
2019-10-12Fix a test for png's lightweight cleaning on corrupted filesjvoisin
2019-09-01Add support for ppmjvoisin
2019-09-01Add a test for nsid cleaningjvoisin
2019-08-31Add support for inplace cleaningjvoisin
2019-08-01Some arguments of mat2 are mutually exclusivejvoisin
2019-07-22Add a test for svg namespacejvoisin
2019-07-13Add support for svgjvoisin
2019-05-13Rework the dependency checks to distinguish required/optional onesAntoine Tenart
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-13tests: libmat2: RuntimeError cannot be thrown by chech_dependenciesAntoine Tenart
Remove the try/except logic when calling check_dependencies, as it cannot throw the exception anymore (it's caught already in the function). Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-05-09Test the cli's behaviour with valid and invalid filesjvoisin
This should ensure that if we decide to implement some threading in the cli, a faulty file won't break everything.
2019-05-08Add tests to find possible race-conditions in the clijvoisin
2019-05-01Add some verification for "dangerous" tarfilesjvoisin
2019-04-27Handle weird permissions in tar archivesjvoisin
2019-04-27Add support for compressed tar filesjvoisin
2019-04-27Add tar archive supportjvoisin
2019-04-14Improve a bit the verbosity of a testjvoisin
2019-02-28Bump the changelog0.8.0jvoisin
2019-02-27Improve the previous commitjvoisin
- More tests - More documentation - Minor code cleanup
2019-02-27Improve epub supportjvoisin
2019-02-24In archive-based formats, the `mimetype` file comes firstjvoisin
This should improve epub compatibility, along with other formats as a side-effect
2019-02-20Implement epub supportjvoisin
2019-02-08Add support for html filesjvoisin
2019-02-07Use of the archive refactoring for the office documents toojvoisin
2019-02-04Refactor a bit office get_meta handlingjvoisin
This should make easier to get more metadata from archive-based file formats.
2019-02-03Implement .gif supportjvoisin
2019-02-02Add support for wmvjvoisin
2018-11-07Add a missing file :/jvoisin
2018-11-07Prove that the previous commit is workingjvoisin
2018-11-07Do not display control characters in outputjvoisin
Kudos to Sherry Taylor for reporting this issue ♥
2018-10-28Add mp4 supportjvoisin
2018-10-25Add support for zip filesjvoisin
2018-10-25Implement get_meta() for archivesjvoisin
2018-10-24Add a test for tiff lightweight cleaningjvoisin
2018-10-24Implement lightweight cleaning for jpgjvoisin
2018-10-23Implement lightweight cleaning for png and tiffjvoisin
2018-10-23Optimize the handling of problematic filesjvoisin
2018-10-22Improve problematic filenames supportjvoisin
2018-10-22Fix the testsuite on fedorajvoisin
2018-10-22Test mat2's reliability wrt. corrupted video filesjvoisin
2018-10-22Implement support for .avi files, via ffmpegjvoisin
- This commit introduces optional dependencies (namely ffmpeg): mat2 will spit a warning when trying to process an .avi file if ffmpeg isn't installed. - Since metadata are obtained via exiftool, this commit also refactors a bit our exfitool wrapper.
2018-10-18wtf pythonjvoisin
2018-10-18Fix the tests on Debian?jvoisin
2018-10-14Fix the CI on debianjvoisin
2018-10-12Refactor lightweight mode implementationjvoisin