fix(test_tutorial006.py): fix line breaks

This commit is contained in:
Shahar Ilany 2022-08-24 22:38:31 +03:00 committed by GitHub
parent 740e4a80e6
commit 9e3b0156bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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"}