summaryrefslogtreecommitdiff
path: root/tests/test_climat2.py (follow)
AgeCommit message (Collapse)Author
2020-11-13Fix the CI on fedorajvoisin
2019-12-23Make the testsuite a bit more robustjvoisin
Some terminals with a small number of column could wrap the cli's output in a way that would make the testsuite fail. This commit break the tests in several smaller one to mitigate this. This issue was originally reported by eleius [here](https://github.com/actionless/pikaur/issues/433), and forwarded as #153.
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-08-31Add support for inplace cleaningjvoisin
2019-08-01Some arguments of mat2 are mutually exclusivejvoisin
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
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-18wtf pythonjvoisin
2018-10-18Fix the tests on Debian?jvoisin
2018-10-14Fix the CI on debianjvoisin
2018-10-05Improve the display of mat2 when no metadata are foundjvoisin
This should close #74
2018-10-04Remove a superfluous importjvoisin
2018-10-04Make the testsuite runnable on the installed MAT2jvoisin
2018-09-24Fix some minor formatting issuesjvoisin
2018-09-06Improve a cli test resiliencejvoisin
2018-09-05Remove short version of dangerous/advanced optionsjvoisin
2018-09-05Improve the previous commitjvoisin
2018-09-04add --unknown-members argument to mat2Daniel Kahn Gillmor
This allows the user to make use of parser.unknown_member_policy for archive formats. At the suggestion of @jvoisin, it also prints a scary warning if the user explicitly chooses 'keep'.
2018-09-01Logging cleanupdkg
2018-07-30Add a cli-related testjvoisin
2018-07-10Implement a check for dependencies in mat2jvoisin
Example use: ``` $ mat2 -c Dependencies required for MAT2 0.1.3: - Cairo: yes - Exiftool: yes - GdkPixbuf from PyGobject: yes - Mutagen: yes - Poppler from PyGobject: yes - PyGobject: yes ``` This should close #35
2018-07-09Remove a useless option that was never implemented anywayjvoisin
2018-06-04Add more typing and use mypy in the CIjvoisin
2018-05-21Rename mat2.py to mat2jvoisin
2018-05-18Rename some files to simplify packagingjvoisin
- the `src` folder is now `libmat2` - the `main.py` script is now `mat2.py`
2018-05-16Some arguments are mutually exclusivesjvoisin
2018-05-14Add a `--version` optionjvoisin
2018-04-30Rework the way we're outputing filesjvoisin
2018-04-29MAT2's cli now uses meaningful return codesjvoisin
- Simplify the multiprocessing by using a Pool - Use some functional (♥) constructions to exit with a return code - Add some tests to prove that we're doing things that are working correctly
2018-04-16Add a cli-related testjvoisin
Since I didn't notice that it was broken until c5f51345029440ab80cfa1670d554a9d851d57c4, it's a good idea to have some tests for this ;)
2018-04-14Add lightweight processing for PDFjvoisin
2018-04-04Add some white lines to make the code more compliantjvoisin
2018-04-04Remove some unused importsjvoisin
2018-04-04Add a test for when main.py is called without any argsjvoisin
2018-04-04Improve get_meta in various waysjvoisin
- Normalize the case - Strip \00, \r, space and \n - Flatten metadata lists - Add tests for audio files
2018-04-04Add even more tests for the clijvoisin
2018-04-04Add a first test for the CLIjvoisin