Skip to content

Commit 48193ee

Browse files
amimasJohnVillalovos
authored andcommitted
revert: remove changes made to tox config
No changes are needed to `tox` config to be able to run individual tests.
1 parent 7c63583 commit 48193ee

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

tox.ini

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ passenv =
2626
NO_COLOR
2727
PWD
2828
PY_COLORS
29-
USER
3029
setenv =
3130
DOCS_SOURCE = docs
3231
DOCS_BUILD = build/sphinx/html
@@ -36,13 +35,10 @@ usedevelop = True
3635
install_command = pip install {opts} {packages} -e .
3736
isolated_build = True
3837

39-
40-
[testenv:py{314,313,312,311,310}]
41-
description = Runs unit tests. For a specific test: tox -e py311 -- <path>
4238
deps = -r{toxinidir}/requirements.txt
4339
-r{toxinidir}/requirements-test.txt
4440
commands =
45-
pytest {posargs:tests/unit}
41+
pytest tests/unit {posargs}
4642

4743
[testenv:black]
4844
basepython = python3
@@ -135,18 +131,14 @@ exclude_lines =
135131
return NotImplemented
136132

137133
[testenv:cli_func_v4]
138-
description =
139-
Runs CLI functional tests. For a specific test: tox -e cli_func_v4 -- <path>
140134
deps = -r{toxinidir}/requirements-docker.txt
141135
commands =
142-
pytest --script-launch-mode=subprocess --cov --cov-report xml {posargs:tests/functional/cli}
136+
pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/cli {posargs}
143137

144138
[testenv:api_func_v4]
145-
description =
146-
Runs API functional tests. For a specific test: tox -e api_func_v4 -- <path>
147139
deps = -r{toxinidir}/requirements-docker.txt
148140
commands =
149-
pytest --cov --cov-report xml {posargs:tests/functional/api}
141+
pytest --cov --cov-report xml tests/functional/api {posargs}
150142

151143
[testenv:smoke]
152144
deps = -r{toxinidir}/requirements-test.txt

0 commit comments

Comments
 (0)