Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FireFading committed Apr 14, 2023
1 parent 08b857e commit ff65686
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def create_fake_token(expires_in: datetime = datetime(1999, 1, 1), email: str =


settings = BaseTestSettings(_env_file=".env.example")
zero_uuid = "00000000-0000-0000-0000-000000000000"

login_credentials_schema = {"email": User.EMAIL, "password": User.PASSWORD}

Expand All @@ -88,11 +87,11 @@ def create_fake_token(expires_in: datetime = datetime(1999, 1, 1), email: str =
}

create_product_schema = {
"guid": Product.GUID,
"guid": str(Product.GUID),
"name": Product.NAME,
"description": Product.DESCRIPTION,
"producer": Product.PRODUCER,
"price": Product.PRICE,
}

rating = {"stars": 2, "product_id": Product.GUID}
rating = {"stars": 2, "product_id": str(Product.GUID)}

0 comments on commit ff65686

Please sign in to comment.