Skip to content

Commit 54f2907

Browse files
committed
chore: clean up paths and posargs order
1 parent 77f18da commit 54f2907

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install_command = pip install {opts} {packages}
1212
deps = -r{toxinidir}/requirements.txt
1313
-r{toxinidir}/test-requirements.txt
1414
commands =
15-
pytest {posargs} gitlab/tests
15+
pytest tests/unit {posargs}
1616

1717
[testenv:pep8]
1818
commands =
@@ -39,8 +39,7 @@ commands = python setup.py build_sphinx
3939

4040
[testenv:cover]
4141
commands =
42-
pytest --cov gitlab --cov-report term --cov-report html \
43-
{posargs} gitlab/tests
42+
pytest tests/unit --cov gitlab --cov-report term --cov-report html {posargs}
4443

4544
[coverage:run]
4645
omit = *tests*

0 commit comments

Comments
 (0)