Fix all test files lint errors.

This commit is contained in:
Hasan Ramezani
2018-10-22 22:25:38 +02:00
parent 5ead67972f
commit 485ff32e42
23 changed files with 122 additions and 82 deletions

View File

@@ -181,7 +181,8 @@ def test_request_stream_handle_exception(app):
# 405
request, response = app.test_client.get('/post/random_id', data=data)
assert response.status == 405
assert response.text == 'Error: Method GET not allowed for URL /post/random_id'
assert response.text == 'Error: Method GET not allowed for URL' \
' /post/random_id'
def test_request_stream_blueprint(app):