Skip to content

Commit

Permalink
fix: failing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gablooge committed Apr 8, 2024
1 parent 8ca2d8e commit ee4881c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uselevers/bills/tests/test_models_bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def test_crud_bills(
# test update and delete
with db.begin():
created_bill = db.query(Bill).first()
assert created_bill is not None
# test update with valid total
new_total: float = 1.10
created_bill.total = new_total
Expand All @@ -68,7 +69,7 @@ def test_crud_bills(

def test_create_bill_with_invalid_total(
db: Annotated[Session, Depends(deps.get_db)], # noqa: F811
):
) -> None:
bill_create = BillSpec(
total=-1,
)
Expand Down

0 comments on commit ee4881c

Please sign in to comment.