fix: Create setUpClass
This commit is contained in:
parent
eea80b6c01
commit
efac7b0904
@ -15,7 +15,8 @@ from erpnext.stock.doctype.item.test_item import create_item
|
||||
|
||||
|
||||
class TestAssetRepair(unittest.TestCase):
|
||||
def setUp(self):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
set_depreciation_settings_in_company()
|
||||
create_asset_data()
|
||||
create_item("_Test Stock Item")
|
||||
|
Loading…
Reference in New Issue
Block a user