Rename testX.py to test_X.py to make py.test work out of the box

This rename makes py.test/py.test-3 find the test suite out of the
box.  Example command lines:

       # Running the test suite (optionally include "-v")
       $ py.test-3
       # Running the test suite with coverage enabled (and branch
       # coverage).
       $ py.test-3 --cov=scour --cov-report=html --cov-branch

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2020-05-17 17:43:57 +00:00
parent dd2155e576
commit 7abb6af7b5
No known key found for this signature in database
GPG key ID: A65B78DBE67C7AAC
5 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ check: test flake8
test:
python testscour.py
python test_scour.py
test_version:
PYTHONPATH=. python -m scour.scour --version
@ -34,6 +34,6 @@ flake8:
flake8 --max-line-length=119
coverage:
coverage run --source=scour testscour.py
coverage run --source=scour test_scour.py
coverage html
coverage report
coverage report