Skip to content

Commit f4e59e0

Browse files
committed
Write failing test.
1 parent 1298329 commit f4e59e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tox_env/test_tox_env_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_allow_list_external_fail(tox_project: ToxProjectCreator, fake_exe_on_pa
3434

3535
def test_env_log(tox_project: ToxProjectCreator) -> None:
3636
cmd = "commands=python -c 'import sys; print(1); print(2); print(3, file=sys.stderr); print(4, file=sys.stderr)'"
37-
prj = tox_project({"tox.ini": f"[testenv]\npackage=skip\n{cmd}"})
37+
env_vars = " UNPREDICTABLE = 🪟"
38+
prj = tox_project({"tox.ini": f"[testenv]\npackage=skip\nset_env =\n{env_vars}\n{cmd}"})
3839
result_first = prj.run("r")
3940
result_first.assert_success()
4041

0 commit comments

Comments
 (0)