mirror of https://github.com/tiangolo/fastapi.git
fix(test_tutorial006.py): fix line breaks
This commit is contained in:
parent
740e4a80e6
commit
9e3b0156bc
|
|
@ -11,9 +11,11 @@ def test_swagger_ui():
|
|||
assert 'router="history"' in response.text
|
||||
assert 'layout="sidebar"' in response.text
|
||||
assert 'tryItCredentialPolicy="omit"' in response.text
|
||||
|
||||
|
||||
|
||||
def test_get_users():
|
||||
response = client.get("/users/foo")
|
||||
assert response.status_code == 200, response.text
|
||||
assert response.json() == {"message": "Hello foo"}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue