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

Function test_get_not_a_file

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

Source from the content-addressed store, hash-verified

79
80
81def test_get_not_a_file(cli):
82 result = cli.invoke(dotenv_cli, ['--file', '.', 'get', 'a'])
83
84 assert result.exit_code == 2
85 assert "Error opening env file" in result.output
86
87
88def test_unset_existing_value(cli, dotenv_file):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected