mirror of https://github.com/encode/starlette.git
Black formatting
This commit is contained in:
parent
75776b45cd
commit
fb74074b3f
|
@ -91,17 +91,16 @@ def test_response_headers():
|
||||||
assert response.headers["x-header-2"] == "789"
|
assert response.headers["x-header-2"] == "789"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_response_phrase():
|
def test_response_phrase():
|
||||||
def app(scope):
|
def app(scope):
|
||||||
return Response(b'', status_code=200)
|
return Response(b"", status_code=200)
|
||||||
|
|
||||||
client = TestClient(app)
|
client = TestClient(app)
|
||||||
response = client.get("/")
|
response = client.get("/")
|
||||||
assert response.reason == "OK"
|
assert response.reason == "OK"
|
||||||
|
|
||||||
def app(scope):
|
def app(scope):
|
||||||
return Response(b'', status_code=123)
|
return Response(b"", status_code=123)
|
||||||
|
|
||||||
client = TestClient(app)
|
client = TestClient(app)
|
||||||
response = client.get("/")
|
response = client.get("/")
|
||||||
|
|
Loading…
Reference in New Issue