mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
9e3b0156bc
commit
b4cd1f2893
|
|
@ -11,11 +11,9 @@ 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