mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
py.test: rerun and print warnings by default
This commit is contained in:
@@ -96,9 +96,6 @@ Before you check in your code into git, always run the static checkers and unit
|
||||
package ``pytest-xdist`` using ``pip install pytest-xdist`` and then run ``py.test -n NUM`` with
|
||||
``NUM`` being the number of threads you want to use.
|
||||
|
||||
.. note:: We currently have some flaky tests that we haven't yet been able to debug. If you just run
|
||||
``py.test --rerun 5`` they'll be rerun and only reported as failures if they fail repeatedly.
|
||||
|
||||
It is a good idea to put this command into your git hook ``.git/hooks/pre-commit``,
|
||||
for example::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user