Skip to content

Commit 2a71da0

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 2a71da0

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 --cov --cov-report xml tests/functional/cli --script-launch-mode-subprocess {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 --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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy