Add coverage for Blueprints.(app_)context_processor
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Test both context_processor and app_context_processor functions. Two context parameters are added into the context: one added to the blueprint locally; another added to the app globally. The test asserts the behaviors in both blueprint scope and the app scope. The coverage for flask.blueprints is increased by 3%.
authored by Randy Liou · committed by Randy Liou · parent f962720 · Browse files · 1 file+42 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+42 added−0 removed
- tests:+42 added−0 removed