test: Fix test_dependencies

This commit is contained in:
Suraj Shetty 2021-05-06 17:44:26 +05:30
parent 0f3d862ba9
commit 7b74985a54
3 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,8 @@ from erpnext.buying.doctype.purchase_order.test_purchase_order import create_pur
from erpnext.accounts.doctype.budget.budget import get_actual_expense, BudgetError
from erpnext.accounts.doctype.journal_entry.test_journal_entry import make_journal_entry
test_dependencies = ['Monthly Distribution']
class TestBudget(unittest.TestCase):
def test_monthly_budget_crossed_ignore(self):
set_total_expense_zero(nowdate(), "cost_center")

View File

@ -9,8 +9,7 @@ from frappe.utils import nowdate
from frappe.utils.make_random import get_random
from erpnext.education.doctype.program.test_program import make_program_and_linked_courses
# test_records = frappe.get_test_records('Fees')
test_dependencies = ['Company']
class TestFees(unittest.TestCase):
def test_fees(self):

View File

@ -1 +1 @@
global_test_dependencies = ['User', 'Company']
global_test_dependencies = ['User', 'Company', 'Cost Center', 'Account', 'Warehouse', 'Item']