Skip to content

Commit dfa40c1

Browse files
committed
style: clean up test run config
1 parent f875786 commit dfa40c1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,22 @@ commands = python setup.py build_sphinx
6666

6767
[testenv:cover]
6868
commands =
69-
pytest --cov gitlab --cov-report term --cov-report html \
69+
pytest --cov --cov-report term --cov-report html \
7070
--cov-report xml gitlab/tests {posargs}
7171

7272
[coverage:run]
7373
omit = *tests*
74+
source = gitlab
75+
76+
[pytest]
77+
script_launch_mode = subprocess
7478

7579
[testenv:cli_func_v4]
7680
deps = -r{toxinidir}/docker-requirements.txt
7781
commands =
78-
pytest --cov gitlab --cov-report term --cov-report html --cov-report xml \
79-
--script-launch-mode=subprocess \
80-
tools/functional/cli {posargs}
82+
pytest --cov --cov-report xml tools/functional/cli {posargs}
8183

8284
[testenv:py_func_v4]
8385
deps = -r{toxinidir}/docker-requirements.txt
8486
commands =
85-
pytest --cov gitlab --cov-report term --cov-report html --cov-report xml \
86-
tools/functional/api {posargs}
87+
pytest --cov --cov-report xml tools/functional/api {posargs}

0 commit comments

Comments
 (0)