pylint issues resolved
Ran tests, and black afterwards. Updated changes.rst and included pre-commit hooks as required. Ran isort on imports.
This commit is contained in:
parent
3dc6db9d0c
commit
dde76ea960
32 changed files with 114 additions and 132 deletions
|
|
@ -712,7 +712,7 @@ def test_request_processing(app, client):
|
|||
|
||||
app.register_blueprint(bp)
|
||||
|
||||
assert evts == []
|
||||
assert not evts
|
||||
rv = client.get("/bp")
|
||||
assert rv.data == b"request|after"
|
||||
assert evts == ["before", "after", "teardown"]
|
||||
|
|
@ -750,7 +750,7 @@ def test_app_request_processing(app, client):
|
|||
return "request"
|
||||
|
||||
# before first request
|
||||
assert evts == []
|
||||
assert not evts
|
||||
|
||||
# first request
|
||||
resp = client.get("/").data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue