From f2ecc44df828ad99bc6d63a1e96d2496bd0d9ef0 Mon Sep 17 00:00:00 2001 From: Adam Gagorik Date: Fri, 8 Nov 2024 14:04:37 -0500 Subject: [PATCH] Fix test for item price --- tests/test_item.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_item.py b/tests/test_item.py index 41fe10f..104526a 100644 --- a/tests/test_item.py +++ b/tests/test_item.py @@ -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"),