Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
fix: update tests with the new model for user
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Mar 19, 2024
1 parent 5fcdf2f commit d87f68c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ def test_users_create_and_list():
{
"first_name": "Parham",
"last_name": "Alvani",
"age": 30,
"average": 18,
},
{
"first_name": "Elahe",
"last_name": "Dastan",
"age": 20,
"average": 20,
},
{
"first_name": "Seyed Parham",
"last_name": "Alvani",
"age": 30,
"average": 18.5,
},
]

Expand Down Expand Up @@ -56,12 +56,12 @@ def test_users_bad_create():
{
"first_name": "Parham1",
"last_name": "Alvani",
"age": 30,
"average": 18,
},
{
"first_name": "Parham",
"last_name": "Alvani",
"age": -30,
"average": -1,
},
]:
response = client.post(
Expand Down

0 comments on commit d87f68c

Please sign in to comment.