MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / test_debug_false_safe

Method test_debug_false_safe

tests/unit/test_missing_rules.py:266–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 assert fires(code, "FLASK001"), "FLASK001 must fire: app.debug = True"
265
266 def test_debug_false_safe(self):
267 code = "app.run(host='0.0.0.0', debug=False)"
268 assert not_fires(code, "FLASK001"), "FLASK001 must NOT fire for debug=False"
269
270
271# ============================================================

Callers

nothing calls this directly

Calls 1

not_firesFunction · 0.70

Tested by

no test coverage detected