chore: Drop empty UnitTestCase

This commit is contained in:
Ankush Menat
2025-06-10 10:54:04 +05:30
parent c8cec8cedf
commit c222d5fa55
87 changed files with 87 additions and 864 deletions

View File

@@ -2,16 +2,7 @@
# See license.txt
# import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
class UnitTestAssetActivity(UnitTestCase):
"""
Unit tests for AssetActivity.
Use this class for testing individual functions and methods.
"""
pass
from frappe.tests import IntegrationTestCase
class TestAssetActivity(IntegrationTestCase):

View File

@@ -2,7 +2,7 @@
# See license.txt
import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
from frappe.tests import IntegrationTestCase
from frappe.utils import cstr, date_diff, flt, getdate
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice
@@ -20,15 +20,6 @@ from erpnext.assets.doctype.asset_value_adjustment.test_asset_value_adjustment i
)
class UnitTestAssetDepreciationSchedule(UnitTestCase):
"""
Unit tests for AssetDepreciationSchedule.
Use this class for testing individual functions and methods.
"""
pass
class TestAssetDepreciationSchedule(IntegrationTestCase):
def setUp(self):
create_asset_data()

View File

@@ -2,7 +2,7 @@
# See license.txt
import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
from frappe.tests import IntegrationTestCase
from frappe.utils import cstr
from erpnext.assets.doctype.asset.test_asset import create_asset
@@ -11,15 +11,6 @@ from erpnext.assets.doctype.asset_depreciation_schedule.asset_depreciation_sched
)
class UnitTestAssetShiftAllocation(UnitTestCase):
"""
Unit tests for AssetShiftAllocation.
Use this class for testing individual functions and methods.
"""
pass
class TestAssetShiftAllocation(IntegrationTestCase):
@classmethod
def setUpClass(cls):

View File

@@ -2,16 +2,7 @@
# See license.txt
# import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
class UnitTestAssetShiftFactor(UnitTestCase):
"""
Unit tests for AssetShiftFactor.
Use this class for testing individual functions and methods.
"""
pass
from frappe.tests import IntegrationTestCase
class TestAssetShiftFactor(IntegrationTestCase):