Skip to content

Commit

Permalink
🔥 Delete duplicated tests in `tests/test_tutorial/test_sql_databases/…
Browse files Browse the repository at this point in the history
…test_sql_databases.py` (#5040)
  • Loading branch information
raccoonyy committed Aug 26, 2022
1 parent 6b77179 commit d86b54e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_tutorial/test_sql_databases/test_sql_databases.py
Expand Up @@ -356,12 +356,6 @@ def test_create_item(client):
item_to_check = [it for it in user_data["items"] if it["id"] == item_data["id"]][0]
assert item_to_check["title"] == item["title"]
assert item_to_check["description"] == item["description"]
response = client.get("/users/1")
assert response.status_code == 200, response.text
user_data = response.json()
item_to_check = [it for it in user_data["items"] if it["id"] == item_data["id"]][0]
assert item_to_check["title"] == item["title"]
assert item_to_check["description"] == item["description"]


def test_read_items(client):
Expand Down

0 comments on commit d86b54e

Please sign in to comment.