From d8a5d2717b270087f8e31cc33014e5c41b45c543 Mon Sep 17 00:00:00 2001 From: Samah Keshiro Date: Thu, 12 Nov 2026 18:20:28 -0500 Subject: [PATCH] Revert "Controlled failing test: wrong expected total (demo for #24)" This reverts commit 5e17a009dc42da41ba4dd7e6d6eb4cfb3b78cb6b. --- pricing/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricing/test_app.py b/pricing/test_app.py index ba09fbb..40b4207 100644 --- a/pricing/test_app.py +++ b/pricing/test_app.py @@ -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)