fix: Linter (due to conflicts resolved on gh)

This commit is contained in:
marination
2025-05-13 17:18:40 +02:00
parent f95a3f5b8b
commit 37f4cf5367
3 changed files with 6 additions and 6 deletions

View File

@@ -46,8 +46,8 @@ class TestPurchaseOrder(FrappeTestCase):
# InvalidQtyError with qty=0
po.items[1].qty = 0
self.assertRaises(InvalidQtyError, po.save)
# No error with qty=1
# No error with qty=1
po.items[1].qty = 1
po.save()
self.assertEqual(po.items[1].qty, 1)

View File

@@ -31,8 +31,8 @@ class TestRequestforQuotation(FrappeTestCase):
rfq.items[0].qty = 1
rfq.save()
self.assertEqual(rfq.items[0].qty, 1)
def test_rfq_zero_qty(self):
def test_rfq_zero_qty(self):
"""
Test if RFQ with zero qty (Unit Price Item) is conditionally allowed.
"""

View File

@@ -20,8 +20,8 @@ class TestQuotation(FrappeTestCase):
qo.items[0].qty = 1
qo.save()
self.assertEqual(qo.items[0].qty, 1)
def test_quotation_zero_qty(self):
def test_quotation_zero_qty(self):
"""
Test if Quote with zero qty (Unit Price Item) is conditionally allowed.
"""