forked from orbit-oss/flask
details fixed
This commit is contained in:
parent
8cdd01ea5d
commit
8fa3ed13bf
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ def test_app_ctx_globals_methods(app, app_ctx):
|
||||||
# __iter__
|
# __iter__
|
||||||
assert list(flask.g) == ['foo']
|
assert list(flask.g) == ['foo']
|
||||||
#__repr__
|
#__repr__
|
||||||
assert flask.g.__repr__() == '<flask.g of \'flask_test\'>'
|
assert repr(flask.g) == "<flask.g of 'flask_test'>"
|
||||||
|
|
||||||
|
|
||||||
def test_custom_app_ctx_globals_class(app):
|
def test_custom_app_ctx_globals_class(app):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue