mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-26 14:41:42 +01: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
|
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)
|
||||||
|
|||||||
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user