chore: use frappetestcase

This commit is contained in:
ruthra kumar 2023-07-27 05:54:13 +05:30
parent 025091161e
commit 47bbb37291

View File

@ -47,8 +47,7 @@ def make_supplier(supplier_name, currency=None):
return supplier_name return supplier_name
# class TestAccountsController(FrappeTestCase): class TestAccountsController(FrappeTestCase):
class TestAccountsController(unittest.TestCase):
""" """
Test Exchange Gain/Loss booking on various scenarios. Test Exchange Gain/Loss booking on various scenarios.
Test Cases are numbered for better organization Test Cases are numbered for better organization
@ -66,8 +65,7 @@ class TestAccountsController(unittest.TestCase):
self.clear_old_entries() self.clear_old_entries()
def tearDown(self): def tearDown(self):
# frappe.db.rollback() frappe.db.rollback()
pass
def create_company(self): def create_company(self):
company_name = "_Test Company MC" company_name = "_Test Company MC"