From 2d5eae04ea7268b3ca9336b8397f978434ebf6f0 Mon Sep 17 00:00:00 2001 From: Me Date: Mon, 21 Dec 2020 23:53:15 +0000 Subject: [PATCH] Add pytest configuration + print some empty line at start of a test run --- auto_test.sh | 3 ++- pytest.ini | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 pytest.ini diff --git a/auto_test.sh b/auto_test.sh index 822a825..c83bab2 100755 --- a/auto_test.sh +++ b/auto_test.sh @@ -5,7 +5,8 @@ while true; do NOTIFY=$(inotifywait -rq -e modify . | grep '\.py') if [ _$? == _0 ]; then - pytest --capture=no test + echo -e "\n\n\n" + pytest --capture=no #test echo ">>>>>>>> Test finished at: $(date)" fi done diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..5f762db --- /dev/null +++ b/pytest.ini @@ -0,0 +1,4 @@ +[pytest] +testpaths = + test +log_cli = True