summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-27 18:26:07 +0100
committerGitHub <noreply@github.com>2021-11-27 18:26:07 +0100
commit1badfeb97d7b5fdf61a3121c49f1e13ced7e2cc0 (patch)
treedf900d1dfd1e12d7d3135c049f4a8a376ad56164
parent70b9870f929c4db32fd2e1406db2122de9958bfd (diff)
parente80dcb1dc09851230b00f8eb63e0c78fda060392 (diff)
downloadgitlab-1badfeb97d7b5fdf61a3121c49f1e13ced7e2cc0.tar.gz
Merge pull request #1714 from python-gitlab/jlvillal/pytest_script_launch_mode
chore: remove pytest-console-scripts specific config
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index aac7d56..4d8ead2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -84,13 +84,10 @@ exclude_lines =
if TYPE_CHECKING:
if debug:
-[pytest]
-script_launch_mode = subprocess
-
[testenv:cli_func_v4]
deps = -r{toxinidir}/requirements-docker.txt
commands =
- pytest --cov --cov-report xml tests/functional/cli {posargs}
+ pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/cli {posargs}
[testenv:py_func_v4]
deps = -r{toxinidir}/requirements-docker.txt