fix: Create setUpClass

This commit is contained in:
GangaManoj 2021-11-25 19:02:01 +05:30
parent eea80b6c01
commit efac7b0904

View File

@ -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")