f-strings everywhere
This commit is contained in:
parent
524fd0bc8c
commit
2ae740dd49
35 changed files with 227 additions and 245 deletions
|
|
@ -414,16 +414,16 @@ def test_template_loader_debugging(test_apps, monkeypatch):
|
|||
def handle(self, record):
|
||||
called.append(True)
|
||||
text = str(record.msg)
|
||||
assert '1: trying loader of application "blueprintapp"' in text
|
||||
assert "1: trying loader of application 'blueprintapp'" in text
|
||||
assert (
|
||||
'2: trying loader of blueprint "admin" (blueprintapp.apps.admin)'
|
||||
"2: trying loader of blueprint 'admin' (blueprintapp.apps.admin)"
|
||||
) in text
|
||||
assert (
|
||||
'trying loader of blueprint "frontend" (blueprintapp.apps.frontend)'
|
||||
"trying loader of blueprint 'frontend' (blueprintapp.apps.frontend)"
|
||||
) in text
|
||||
assert "Error: the template could not be found" in text
|
||||
assert (
|
||||
'looked up from an endpoint that belongs to the blueprint "frontend"'
|
||||
"looked up from an endpoint that belongs to the blueprint 'frontend'"
|
||||
) in text
|
||||
assert "See https://flask.palletsprojects.com/blueprints/#templates" in text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue