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

Function test_unset_non_existent_value

tests/test_cli.py:98–102  ·  view source on GitHub ↗
(cli, dotenv_file)

Source from the content-addressed store, hash-verified

96
97
98def test_unset_non_existent_value(cli, dotenv_file):
99 result = cli.invoke(dotenv_cli, ['--file', dotenv_file, 'unset', 'a'])
100
101 assert (result.exit_code, result.output) == (1, "")
102 assert open(dotenv_file, "r").read() == ""
103
104
105@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected