Problem: make unit-test-watch loops forever

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-28 16:45:31 +02:00
parent 8e97c753eb
commit bfaf5432b5
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D

View File

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