Revert "Controlled failing test: wrong expected total (demo for #24)"
Scrap-Web/pipeline/head This commit looks good

This reverts commit 5e17a009dc.
This commit is contained in:
2026-11-12 18:20:28 -05:00
parent 5e17a009dc
commit d8a5d2717b
+1 -1
View File
@@ -7,7 +7,7 @@ class PricingTests(unittest.TestCase):
self.client = app.test_client()
def test_price(self):
self.assertEqual(total_price(3), 31)
self.assertEqual(total_price(3), 30)
response = self.client.get("/price?quantity=3")
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json["total"], 30)