fix: Styling and test case fixes

This commit is contained in:
deepeshgarg007 2019-05-28 17:56:07 +05:30
parent e025aabef0
commit ffec8be85f
2 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ class TestAccountingDimension(unittest.TestCase):
gle = frappe.get_doc("GL Entry", {"voucher_no": je.name, "account": "Sales - _TC"})
gle1 = frappe.get_doc("GL Entry", {"voucher_no": je.name, "account": "Sales Expenses - _TC"})
self.assertEqual(gle.department, "_Test Department - _TC")
self.assertEqual(gle1.department, "_Test Department - _TC")
self.assertEqual(gle.get('department'), "_Test Department - _TC")
self.assertEqual(gle1.get('department'), "_Test Department - _TC")
def test_mandatory(self):
si = create_sales_invoice(do_not_save=1)

View File

@ -21,4 +21,4 @@ doclist.forEach((doctype) => {
});
}
});
})
});