Skip to content

Commit a2f7996

Browse files
chore: remove pytest-console-scripts specific config
Remove the pytest-console-scripts specific config from the global '[pytest]' config section. Move it to a command line option for the functional tests which use the Docker container. Closes #1713
1 parent 3225f2c commit a2f7996

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tox.ini

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,15 @@ exclude_lines =
8484
if TYPE_CHECKING:
8585
if debug:
8686

87-
[pytest]
88-
script_launch_mode = subprocess
89-
9087
[testenv:cli_func_v4]
9188
deps = -r{toxinidir}/requirements-docker.txt
9289
commands =
93-
pytest --cov --cov-report xml tests/functional/cli {posargs}
90+
pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/cli {posargs}
9491

9592
[testenv:py_func_v4]
9693
deps = -r{toxinidir}/requirements-docker.txt
9794
commands =
98-
pytest --cov --cov-report xml tests/functional/api {posargs}
95+
pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/api --script-launch-mode-subprocess {posargs}
9996

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

0 commit comments

Comments
 (0)