Skip to content

Commit

Permalink
Merge pull request #2807 from eso31/master
Browse files Browse the repository at this point in the history
Test added for _AppCtxGlobals __repr__ method
  • Loading branch information
davidism committed May 29, 2018
2 parents 79fc8e5 + 8fa3ed1 commit 8080ead
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_appctx.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def test_app_ctx_globals_methods(app, app_ctx):
assert flask.g.pop('bar', 'more cake') == 'more cake'
# __iter__
assert list(flask.g) == ['foo']
#__repr__
assert repr(flask.g) == "<flask.g of 'flask_test'>"


def test_custom_app_ctx_globals_class(app):
Expand Down

0 comments on commit 8080ead

Please sign in to comment.