Skip to content
Myr

Test added for _AppCtxGlobals __repr__ method

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dilan Coss · committed by Dilan Coss · parent 54869a0 · Browse files · 1 file+2 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+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_appctx.py+2 added
157 unmodified lines
158 flask.g.pop('bar')159 assert flask.g.pop('bar', 'more cake') == 'more cake'160 # __iter__161 assert list(flask.g) == ['foo']162 #__repr__163 assert flask.g.__repr__() == '<flask.g of \'flask_test\'>'164165166def test_custom_app_ctx_globals_class(app):167 class CustomRequestGlobals(object):
54 unmodified lines