Skip to content

Commit

Permalink
Fix test for item price
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGagorik committed Nov 8, 2024
1 parent 7a53566 commit f2ecc44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
[
pytest.param({"itemid": 0, "name": "A"}, None, id="name=A"),
pytest.param({"itemid": 0, "price_single": 1}, None, id="price_single=1"),
pytest.param({"itemid": 0, "price_single": 0}, ValueError, id="price_single=0 raises"),
pytest.param({"itemid": 0, "price_single": -1}, ValueError, id="price_single=-1 raises"),
pytest.param({"itemid": 0, "price_stacks": 1}, None, id="price_stacks=1"),
pytest.param({"itemid": 0, "price_stacks": 0}, ValueError, id="price_stacks=0 raises"),
pytest.param({"itemid": 0, "price_stacks": -1}, ValueError, id="price_stacks=-1 raises"),
pytest.param({"itemid": 0, "stock_single": 0}, None, id="stock_single=0"),
pytest.param({"itemid": 0, "stock_single": -1}, ValueError, id="stock_single=-1"),
Expand Down

0 comments on commit f2ecc44

Please sign in to comment.