(dotenv_file)
| 117 | |
| 118 | |
| 119 | def test_get_key_encoding(dotenv_file): |
| 120 | encoding = "latin-1" |
| 121 | with open(dotenv_file, "w", encoding=encoding) as f: |
| 122 | f.write("é=è") |
| 123 | |
| 124 | result = dotenv.get_key(dotenv_file, "é", encoding=encoding) |
| 125 | |
| 126 | assert result == "è" |
| 127 | |
| 128 | |
| 129 | def test_get_key_none(dotenv_file): |
nothing calls this directly
no outgoing calls
no test coverage detected