dangerzone/tests
Alex Pyrgiotis 699258543a
Fail if a provided suffix cannot be applied
If a user has provided an output filename for a document, then we should
no longer accept suffixes. The reason is that we can't do something
meaningful with it, as we can't alter the provided output filename.

The proper behavior is to reject this action with an exception. Note
that this acts more of a safeguard, since (currently) there is no path
where a user may add a suffix to a document that already has an output
filename.
2022-11-21 12:39:25 +00:00
..
test_docs migrate to pytest & test_docs -> tests/test_docs 2022-09-13 13:07:58 +01:00
__init__.py Do not create outfile files when checking if writeable 2022-11-14 09:04:54 +00:00
test_cli.py Add test cases for bulk document conversion 2022-11-14 08:53:59 +00:00
test_document.py Fail if a provided suffix cannot be applied 2022-11-21 12:39:25 +00:00
test_util.py tests: Run Mypy against tests 2022-10-25 19:09:23 +03:00