Make it a little easier to run specific tests

Changes ./bin/test.sh to pass command line options to pytest, and default to
only running tests in the tests/ directory instead of everywhere excluding
a few directories which is more error-prone.

Also keeps the mock_server used in testing quiet so access log entries don't
appear on stdout.
This commit is contained in:
jim winstead 2024-03-01 12:43:53 -08:00
parent 7b042c854a
commit 741ff5f1a8
3 changed files with 4 additions and 2 deletions

View file

@ -50,4 +50,4 @@ def redirect_to_static(filename):
def start():
run(host='localhost', port=8080)
run(host='localhost', port=8080, quiet=True)