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

Function test_set_no_file

tests/test_cli.py:148–152  ·  view source on GitHub ↗
(cli)

Source from the content-addressed store, hash-verified

146
147
148def test_set_no_file(cli):
149 result = cli.invoke(dotenv_cli, ["--file", "nx_file", "set"])
150
151 assert result.exit_code == 2
152 assert "Missing argument" in result.output
153
154
155def test_get_default_path(tmp_path):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected