Andreas Wacknitz
2024-03-24 3df02058fb3d48a999bbc8d5d56c2910fbc249a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- tox-4.14.2/tests/test_version.py.orig
+++ tox-4.14.2/tests/test_version.py
@@ -11,11 +11,14 @@
 
     from tox.pytest import ToxProjectCreator
 
+import pytest
+
 
 def test_version() -> None:
     assert __version__
 
 
+@pytest.mark.skip(reason="tox-current-env is always installed")
 def test_version_without_plugin(tox_project: ToxProjectCreator) -> None:
     outcome = tox_project({"tox.ini": ""}).run("--version")
     outcome.assert_success()
--- tox-4.14.2/tests/config/cli/test_cli_env_var.py.orig
+++ tox-4.14.2/tests/config/cli/test_cli_env_var.py
@@ -67,6 +67,9 @@
         "labels": [],
         "skip_env": "",
         "list_dependencies": is_ci(),
+        "current_env": False,           # tox-current-env
+        "print_deps_to": False,         # tox-current-env
+        "print_extras_to": False,       # tox-current-env
     }
 
 
@@ -126,6 +129,9 @@
         "exit_and_dump_after": 0,
         "skip_env": "",
         "list_dependencies": is_ci(),
+        "current_env": False,           # tox-current-env
+        "print_deps_to": False,         # tox-current-env
+        "print_extras_to": False,       # tox-current-env
     }
     assert options.parsed.verbosity == 4
     assert options.cmd_handlers == core_handlers
--- tox-4.14.2/tests/config/cli/test_cli_ini.py.orig
+++ tox-4.14.2/tests/config/cli/test_cli_ini.py
@@ -56,6 +56,9 @@
         "exit_and_dump_after": 0,
         "skip_env": "",
         "list_dependencies": is_ci(),
+        "current_env": False,           # tox-current-env
+        "print_deps_to": False,         # tox-current-env
+        "print_extras_to": False,       # tox-current-env
     }
 
 
@@ -230,6 +233,9 @@
         "exit_and_dump_after": 0,
         "skip_env": "",
         "list_dependencies": is_ci(),
+        "current_env": False,           # tox-current-env
+        "print_deps_to": False,         # tox-current-env
+        "print_extras_to": False,       # tox-current-env
     }
     assert options.parsed.verbosity == 4
     assert options.cmd_handlers == core_handlers