Skip to content

Commit

Permalink
missed uncommenting test_inject_env_invalid()
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwilliamson committed Nov 6, 2023
1 parent 0096b2c commit 29a7925
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration/test_inject_env_and_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
from typing import Any, Iterable, List, Optional


# def test_inject_env_invalid():
# # type: () -> None
# result = run_pex_command(args=["--inject-env", "FOO"])
# result.assert_failure()
# assert "--inject-env" in result.error
# assert (
# "Environment variable values must be of the form `name=value`. Given: FOO" in result.error
# )
def test_inject_env_invalid():
# type: () -> None
result = run_pex_command(args=["--inject-env", "FOO"])
result.assert_failure()
assert "--inject-env" in result.error
assert (
"Environment variable values must be of the form `name=value`. Given: FOO" in result.error
)


parametrize_execution_mode_args = pytest.mark.parametrize(
Expand Down

0 comments on commit 29a7925

Please sign in to comment.