MCPcopy
hub / github.com/pallets/flask / test_get_debug_flag

Method test_get_debug_flag

tests/test_helpers.py:344–346  ·  view source on GitHub ↗
(self, monkeypatch, debug, expect)

Source from the content-addressed store, hash-verified

342 ],
343 )
344 def test_get_debug_flag(self, monkeypatch, debug, expect):
345 monkeypatch.setenv("FLASK_DEBUG", debug)
346 assert get_debug_flag() == expect
347
348 def test_make_response(self):
349 app = flask.Flask(__name__)

Callers

nothing calls this directly

Calls 1

get_debug_flagFunction · 0.90

Tested by

no test coverage detected