Skip to content

Commit

Permalink
Write failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamwil committed Dec 29, 2022
1 parent 1298329 commit f4e59e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tox_env/test_tox_env_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def test_allow_list_external_fail(tox_project: ToxProjectCreator, fake_exe_on_pa

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

Expand Down

0 comments on commit f4e59e0

Please sign in to comment.