MCPcopy Index your code
hub / github.com/theskumar/python-dotenv / test_dotenv_values_string_io

Function test_dotenv_values_string_io

tests/test_main.py:681–688  ·  view source on GitHub ↗
(env, string, interpolate, expected)

Source from the content-addressed store, hash-verified

679 ],
680)
681def test_dotenv_values_string_io(env, string, interpolate, expected):
682 with mock.patch.dict(os.environ, env, clear=True):
683 stream = io.StringIO(string)
684 stream.seek(0)
685
686 result = dotenv.dotenv_values(stream=stream, interpolate=interpolate)
687
688 assert result == expected
689
690
691def test_dotenv_values_file_stream(dotenv_path):

Callers

nothing calls this directly

Calls 1

dictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…