mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-11 02:45:08 +00:00
refactor(test): make leads deterministic
This commit is contained in:
@@ -12,11 +12,6 @@ from erpnext.tests.utils import ERPNextTestSuite
|
||||
|
||||
|
||||
class TestLead(ERPNextTestSuite):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.make_leads()
|
||||
|
||||
def test_make_customer(self):
|
||||
from erpnext.crm.doctype.lead.lead import make_customer
|
||||
|
||||
|
||||
@@ -254,6 +254,7 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
cls.make_projects()
|
||||
cls.make_dunning_type()
|
||||
cls.make_finance_book()
|
||||
cls.make_leads()
|
||||
cls.update_selling_settings()
|
||||
cls.update_stock_settings()
|
||||
cls.update_system_settings()
|
||||
|
||||
Reference in New Issue
Block a user