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

Function test_dotenv_values_file_stream

tests/test_main.py:418–425  ·  view source on GitHub ↗
(dotenv_file)

Source from the content-addressed store, hash-verified

416
417
418def test_dotenv_values_file_stream(dotenv_file):
419 with open(dotenv_file, "w") as f:
420 f.write("a=b")
421
422 with open(dotenv_file, "r") as f:
423 result = dotenv.dotenv_values(stream=f)
424
425 assert result == {"a": "b"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected