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

Function test_get_non_existent_file

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

Source from the content-addressed store, hash-verified

72
73
74def test_get_non_existent_file(cli):
75 result = cli.invoke(dotenv_cli, ['--file', 'nx_file', 'get', 'a'])
76
77 assert result.exit_code == 2
78 assert "Error opening env file" in result.output
79
80
81def test_get_not_a_file(cli):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected