style: Spaces to Tabs

This commit is contained in:
marination
2022-05-05 13:00:00 +05:30
parent c449b35cc1
commit a2fff8741e
2 changed files with 9 additions and 9 deletions

View File

@@ -656,9 +656,9 @@ class TestStockEntry(FrappeTestCase):
def test_serial_batch_item_stock_entry(self): def test_serial_batch_item_stock_entry(self):
""" """
Behaviour: 1) Submit Stock Entry (Receipt) with Serial & Batched Item 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 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 from erpnext.stock.doctype.batch.batch import get_batch_qty
@@ -698,9 +698,9 @@ class TestStockEntry(FrappeTestCase):
""" """
Behaviour: Create 2 Stock Entries, both adding Serial Nos to same batch Behaviour: Create 2 Stock Entries, both adding Serial Nos to same batch
Expected: 1) Cancelling first Stock Entry (origin transaction of created batch) Expected: 1) Cancelling first Stock Entry (origin transaction of created batch)
should throw a LinkExistsError should throw a LinkExistsError
2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch 2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch
and in that transaction only, Inactive. and in that transaction only, Inactive.
""" """
from erpnext.stock.doctype.batch.batch import get_batch_qty from erpnext.stock.doctype.batch.batch import get_batch_qty

View File

@@ -314,10 +314,10 @@ class TestStockReconciliation(FrappeTestCase):
def test_stock_reco_for_serial_and_batch_item_with_future_dependent_entry(self): 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 Behaviour: 1) Create Stock Reconciliation, which will be the origin document
of a new batch having a serial no of a new batch having a serial no
2) Create a Stock Entry that adds a serial no to the same batch following this 2) Create a Stock Entry that adds a serial no to the same batch following this
Stock Reconciliation Stock Reconciliation
3) Cancel Stock Entry 3) Cancel Stock Entry
Expected Result: 3) Serial No only in the Stock Entry is Inactive and Batch qty decreases 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 from erpnext.stock.doctype.batch.batch import get_batch_qty