Add pytest configuration + print some empty line at start of a test run

This commit is contained in:
Me 2020-12-21 23:53:15 +00:00
parent 0c0d8992b1
commit 2d5eae04ea
2 changed files with 6 additions and 1 deletions

View file

@ -5,7 +5,8 @@
while true; do while true; do
NOTIFY=$(inotifywait -rq -e modify . | grep '\.py') NOTIFY=$(inotifywait -rq -e modify . | grep '\.py')
if [ _$? == _0 ]; then if [ _$? == _0 ]; then
pytest --capture=no test echo -e "\n\n\n"
pytest --capture=no #test
echo ">>>>>>>> Test finished at: $(date)" echo ">>>>>>>> Test finished at: $(date)"
fi fi
done done

4
pytest.ini Normal file
View file

@ -0,0 +1,4 @@
[pytest]
testpaths =
test
log_cli = True