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

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

View File

@@ -32,7 +32,7 @@ class TestRequestforQuotation(FrappeTestCase):
rfq.save() rfq.save()
self.assertEqual(rfq.items[0].qty, 1) 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. Test if RFQ with zero qty (Unit Price Item) is conditionally allowed.
""" """

View File

@@ -21,7 +21,7 @@ class TestQuotation(FrappeTestCase):
qo.save() qo.save()
self.assertEqual(qo.items[0].qty, 1) 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. Test if Quote with zero qty (Unit Price Item) is conditionally allowed.
""" """