MCPcopy
hub / github.com/pallets/werkzeug / test_last_modified

Function test_last_modified

tests/test_send_file.py:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def test_last_modified():
38 last_modified = datetime.datetime(1999, 1, 1, tzinfo=datetime.timezone.utc)
39 rv = send_file(txt_path, environ, last_modified=last_modified)
40 assert rv.last_modified == last_modified
41 rv.close()
42
43
44@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

send_fileFunction · 0.90
closeMethod · 0.45

Tested by

no test coverage detected