commit | 233b88dc526bb039ff9122ec0656707726cc7737 | [log] [tgz] |
---|---|---|
author | deepeshgarg007 <deepeshgarg6@gmail.com> | Tue May 28 17:58:22 2019 +0530 |
committer | deepeshgarg007 <deepeshgarg6@gmail.com> | Tue May 28 17:58:22 2019 +0530 |
tree | dd54ad378bc41183ab535c2842026333a8c2251e | |
parent | ffec8be85f7ddd8bb75774719c01d9aeb3bd81af [diff] |
fix: Test case fixes
diff --git a/erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py b/erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py index 0602997..527ddcc 100644 --- a/erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py +++ b/erpnext/accounts/doctype/accounting_dimension/test_accounting_dimension.py
@@ -56,7 +56,7 @@ gle = frappe.get_doc("GL Entry", {"voucher_no": si.name, "account": "Sales - _TC"}) - self.assertEqual(gle.department, "_Test Department - _TC") + self.assertEqual(gle.get('department'), "_Test Department - _TC") def test_dimension_against_journal_entry(self): je = make_journal_entry("Sales - _TC", "Sales Expenses - _TC", 500, save=False)