diff --git a/erpnext/accounts/doctype/budget/test_budget.py b/erpnext/accounts/doctype/budget/test_budget.py index 866f9cb322d..d3dc7476c98 100644 --- a/erpnext/accounts/doctype/budget/test_budget.py +++ b/erpnext/accounts/doctype/budget/test_budget.py @@ -17,12 +17,6 @@ from erpnext.tests.utils import ERPNextTestSuite class TestBudget(ERPNextTestSuite): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.make_monthly_distribution() - cls.make_projects() - def setUp(self): frappe.db.set_single_value("Accounts Settings", "use_legacy_budget_controller", False) self.company = "_Test Company" diff --git a/erpnext/tests/utils.py b/erpnext/tests/utils.py index 96222afa405..0d15226842a 100644 --- a/erpnext/tests/utils.py +++ b/erpnext/tests/utils.py @@ -250,6 +250,8 @@ class ERPNextTestSuite(unittest.TestCase): cls.make_quality_inspection_template() cls.make_employees() cls.make_brand() + cls.make_monthly_distribution() + cls.make_projects() cls.update_selling_settings() cls.update_stock_settings() cls.update_system_settings()