test cases for #67

This commit is contained in:
jonaswinkler
2020-11-29 15:47:56 +01:00
parent a27daaebe9
commit 023aeea7ea
5 changed files with 43 additions and 18 deletions

View File

@@ -53,7 +53,8 @@ them running.
Testing and code style:
* Run ``pytest`` in the src/ directory to execute all tests. This also generates a HTML coverage
report.
report. When runnings test, paperless.conf is loaded as well. However: the tests rely on the default
configuration. This is not ideal. But for now, make sure no settings except for DEBUG are overridden when testing.
* Run ``pycodestyle`` to test your code for issues with the configured code style settings.
.. note::