tests: fix assertion rewriting when pytest is used
This commit is contained in:
parent
7cbe37ebd9
commit
268276f7ac
|
@ -136,7 +136,7 @@ def main():
|
|||
# Let there be colors!
|
||||
if 'CI' in os.environ:
|
||||
pytest_args += ['--color=yes']
|
||||
pytest_args += ['./run_unittests.py']
|
||||
pytest_args += ['unittests']
|
||||
pytest_args += convert_args(sys.argv[1:])
|
||||
# Always disable pytest-cov because we use a custom setup
|
||||
try:
|
||||
|
|
|
@ -62,4 +62,4 @@ include = mesonbuild, mesonbuild.*
|
|||
[tool:pytest]
|
||||
python_classes =
|
||||
python_files =
|
||||
run_unittests.py
|
||||
unittests/*tests.py
|
||||
|
|
Loading…
Reference in New Issue