MCPcopy Create free account
hub / github.com/theskumar/python-dotenv / test_run_with_other_env

Function test_run_with_other_env

tests/test_cli.py:213–219  ·  view source on GitHub ↗
(dotenv_file)

Source from the content-addressed store, hash-verified

211
212
213def test_run_with_other_env(dotenv_file):
214 with open(dotenv_file, "w") as f:
215 f.write("a=b")
216
217 result = sh.dotenv("--file", dotenv_file, "run", "printenv", "a")
218
219 assert result == "b\n"
220
221
222def test_run_without_cmd(cli):

Callers

nothing calls this directly

Calls 1

dotenvMethod · 0.80

Tested by

no test coverage detected