Black formatting

This commit is contained in:
Tom Christie 2018-09-18 11:03:18 +01:00
parent 75776b45cd
commit fb74074b3f
1 changed files with 2 additions and 3 deletions

View File

@ -91,17 +91,16 @@ def test_response_headers():
assert response.headers["x-header-2"] == "789"
def test_response_phrase():
def app(scope):
return Response(b'', status_code=200)
return Response(b"", status_code=200)
client = TestClient(app)
response = client.get("/")
assert response.reason == "OK"
def app(scope):
return Response(b'', status_code=123)
return Response(b"", status_code=123)
client = TestClient(app)
response = client.get("/")