Tests: Amend the comment for TESTED_FILES

Arguably, this is easier.
This commit is contained in:
Miro Hrončok 2021-02-05 14:56:23 +01:00
parent c746b25f28
commit 230ce7f061
1 changed files with 2 additions and 6 deletions

View File

@ -12,12 +12,8 @@ XY = f'{sys.version_info[0]}{sys.version_info[1]}'
# Handy environment variable you can use to run the tests
# with modified macros files. Multiple files should be
# separated by colon.
# To get 'em all, run:
# ls -1 macros.* | tr "\n" ":"
# and then:
# TESTED_FILES="<output of previous command>" pytest -v
# or both combined:
# TESTED_FILES=$(ls -1 macros.* | tr "\n" ":") pytest -v
# You can use * if you escape it from your Shell:
# TESTED_FILES='macros.*' pytest -v
# Remember that some tests might need more macros files than just
# the local ones.
TESTED_FILES = os.getenv("TESTED_FILES", None)