Problem: make unit-test-watch loops forever (#2486)

Solution: BigchainDB by default writes logs in the same directory it is
run. The `looponfail` feature provided by pytest waits for changes in
the current directory, so it is continuously triggered. This patch tells
pytest to only watch the `bigchaindb` and `tests` directories.
This commit is contained in:
vrde 2018-08-29 14:14:47 +02:00 committed by Vanshdeep Singh
parent 407b771185
commit 3f7b521809

View File

@ -2,3 +2,4 @@
testpaths = tests/
norecursedirs = .* *.egg *.egg-info env* devenv* docs
addopts = -m tendermint
looponfailroots = bigchaindb tests