From 8cdd01ea5da2f92c0108803618b168e128084858 Mon Sep 17 00:00:00 2001 From: Dilan Coss Date: Mon, 28 May 2018 23:49:06 -0600 Subject: [PATCH] Test added for _AppCtxGlobals __repr__ method --- tests/test_appctx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_appctx.py b/tests/test_appctx.py index 678bf510..0ce0431d 100644 --- a/tests/test_appctx.py +++ b/tests/test_appctx.py @@ -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 flask.g.__repr__() == '' def test_custom_app_ctx_globals_class(app):