forked from orbit-oss/flask
address flake8 issues
This commit is contained in:
parent
549fed29ea
commit
b46f5942a5
23 changed files with 86 additions and 89 deletions
|
|
@ -191,7 +191,6 @@ class TestGreenletContextCopying(object):
|
|||
@app.route("/")
|
||||
def index():
|
||||
flask.session["fizz"] = "buzz"
|
||||
reqctx = flask._request_ctx_stack.top.copy()
|
||||
|
||||
@flask.copy_current_request_context
|
||||
def g():
|
||||
|
|
@ -228,7 +227,7 @@ def test_session_error_pops_context():
|
|||
@app.route("/")
|
||||
def index():
|
||||
# shouldn't get here
|
||||
assert False
|
||||
AssertionError()
|
||||
|
||||
response = app.test_client().get("/")
|
||||
assert response.status_code == 500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue