From a65b20d97629f5a05d257346f86575dca1c62027 Mon Sep 17 00:00:00 2001 From: marination Date: Thu, 5 May 2022 13:00:00 +0530 Subject: [PATCH] style: Spaces to Tabs (cherry picked from commit a2fff8741e7ea928c4152d8f867db3ef9eb08b19) --- erpnext/stock/doctype/stock_entry/test_stock_entry.py | 10 +++++----- .../stock_reconciliation/test_stock_reconciliation.py | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 8745ced575..b9c57c1ecf 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -655,9 +655,9 @@ class TestStockEntry(FrappeTestCase): def test_serial_batch_item_stock_entry(self): """ Behaviour: 1) Submit Stock Entry (Receipt) with Serial & Batched Item - 2) Cancel same Stock Entry + 2) Cancel same Stock Entry Expected Result: 1) Batch is created with Reference in Serial No - 2) Batch is deleted and Serial No is Inactive + 2) Batch is deleted and Serial No is Inactive """ from erpnext.stock.doctype.batch.batch import get_batch_qty @@ -697,9 +697,9 @@ class TestStockEntry(FrappeTestCase): """ Behaviour: Create 2 Stock Entries, both adding Serial Nos to same batch Expected: 1) Cancelling first Stock Entry (origin transaction of created batch) - should throw a LinkExistsError - 2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch - and in that transaction only, Inactive. + should throw a LinkExistsError + 2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch + and in that transaction only, Inactive. """ from erpnext.stock.doctype.batch.batch import get_batch_qty diff --git a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py index 6d5340ef11..e7b89b18a8 100644 --- a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py @@ -315,10 +315,10 @@ class TestStockReconciliation(FrappeTestCase): def test_stock_reco_for_serial_and_batch_item_with_future_dependent_entry(self): """ Behaviour: 1) Create Stock Reconciliation, which will be the origin document - of a new batch having a serial no - 2) Create a Stock Entry that adds a serial no to the same batch following this - Stock Reconciliation - 3) Cancel Stock Entry + of a new batch having a serial no + 2) Create a Stock Entry that adds a serial no to the same batch following this + Stock Reconciliation + 3) Cancel Stock Entry Expected Result: 3) Serial No only in the Stock Entry is Inactive and Batch qty decreases """ from erpnext.stock.doctype.batch.batch import get_batch_qty