(dotenv_file)
| 179 | |
| 180 | |
| 181 | def test_set_key_unauthorized_file(dotenv_file): |
| 182 | os.chmod(dotenv_file, 0o000) |
| 183 | |
| 184 | with pytest.raises(PermissionError): |
| 185 | dotenv.set_key(dotenv_file, "a", "x") |
| 186 | |
| 187 | |
| 188 | def test_unset_non_existent_file(tmp_path): |
nothing calls this directly
no outgoing calls
no test coverage detected