mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 05:32:46 +01:00
refactor(test): make budget deterministic
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user