mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
fix: Linter (due to conflicts resolved on gh)
This commit is contained in:
@@ -47,7 +47,7 @@ class TestPurchaseOrder(FrappeTestCase):
|
||||
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)
|
||||
|
||||
@@ -32,7 +32,7 @@ class TestRequestforQuotation(FrappeTestCase):
|
||||
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.
|
||||
"""
|
||||
|
||||
@@ -21,7 +21,7 @@ class TestQuotation(FrappeTestCase):
|
||||
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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user