forked from orbit-oss/flask
parent
66b4ea91b4
commit
d13a1b363e
2 changed files with 3 additions and 3 deletions
|
|
@ -367,7 +367,7 @@ def test_custom_jinja_env():
|
|||
pass
|
||||
|
||||
class CustomFlask(flask.Flask):
|
||||
jinja_env_class = CustomEnvironment
|
||||
jinja_environment = CustomEnvironment
|
||||
|
||||
app = CustomFlask(__name__)
|
||||
assert isinstance(app.jinja_env, CustomEnvironment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue