Controlled failing test to demonstrate the unit-test gate (refs #16)
continuous-integration/jenkins Jenkins: a gate failed or approval was not given

This commit is contained in:
2026-11-12 13:22:49 -05:00
parent e69ac37974
commit 80b77d70e1
+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), 30)
self.assertEqual(total_price(3), 31)
response = self.client.get("/price?quantity=3")
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json["total"], 30)