tests: Pass $PYTEST_FLAGS to pytest

This makes it easier to pass "-s" or "-k TestSomething" when running
"make test".
This commit is contained in:
Tomas Janousek 2020-06-28 18:05:24 +02:00 committed by Tomas Babej
parent 47922faeee
commit e044ebdd02

View file

@ -8,4 +8,4 @@ services:
security_opt:
- label=type:container_runtime_t
tty: true
command: xvfb-run --server-args=-noreset python3 -m pytest -vv tests/
command: xvfb-run --server-args=-noreset python3 -m pytest -vv $PYTEST_FLAGS tests/