diff --git a/erpnext/buying/doctype/purchase_order/test_purchase_order.py b/erpnext/buying/doctype/purchase_order/test_purchase_order.py index 5c8220894b8..c6ee35d6090 100644 --- a/erpnext/buying/doctype/purchase_order/test_purchase_order.py +++ b/erpnext/buying/doctype/purchase_order/test_purchase_order.py @@ -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) diff --git a/erpnext/buying/doctype/request_for_quotation/test_request_for_quotation.py b/erpnext/buying/doctype/request_for_quotation/test_request_for_quotation.py index f119840e042..1a8b3a8ac47 100644 --- a/erpnext/buying/doctype/request_for_quotation/test_request_for_quotation.py +++ b/erpnext/buying/doctype/request_for_quotation/test_request_for_quotation.py @@ -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. """ diff --git a/erpnext/selling/doctype/quotation/test_quotation.py b/erpnext/selling/doctype/quotation/test_quotation.py index 49652cbde85..f6f4d98d541 100644 --- a/erpnext/selling/doctype/quotation/test_quotation.py +++ b/erpnext/selling/doctype/quotation/test_quotation.py @@ -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. """