[Pytest-commit] Issue #679: option to make looponfail ignore certain files (hpk42/pytest)

Diego Ponciano issues-reply at bitbucket.org
Tue Feb 10 22:11:21 CET 2015


New issue 679: option to make looponfail ignore certain files
https://bitbucket.org/hpk42/pytest/issue/679/option-to-make-looponfail-ignore-certain

Diego Ponciano:

I'm running py.test with -f (looponfail) from the project dir, and my model tests recreate a sqlite database at every run.
The problem that comes with it is that py.test detects the database.db file was changed, and then re-run all the tests infinitely.
Is there a way to make it ignore changes in *.db files?




More information about the pytest-commit mailing list