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 UnitTestSubcontractingBom(UnitTestCase):
"""
Unit tests for SubcontractingBom.
Use this class for testing individual functions and methods.
"""
pass
from frappe.tests import IntegrationTestCase
class TestSubcontractingBOM(IntegrationTestCase):

View File

@@ -5,7 +5,7 @@ import copy
from collections import defaultdict
import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
from frappe.tests import IntegrationTestCase
from frappe.utils import flt
from erpnext.buying.doctype.purchase_order.purchase_order import get_mapped_subcontracting_order
@@ -33,15 +33,6 @@ from erpnext.subcontracting.doctype.subcontracting_order.subcontracting_order im
)
class UnitTestSubcontractingOrder(UnitTestCase):
"""
Unit tests for SubcontractingOrder.
Use this class for testing individual functions and methods.
"""
pass
class TestSubcontractingOrder(IntegrationTestCase):
def setUp(self):
make_subcontracted_items()

View File

@@ -5,7 +5,7 @@
import copy
import frappe
from frappe.tests import IntegrationTestCase, UnitTestCase
from frappe.tests import IntegrationTestCase
from frappe.utils import add_days, cint, flt, nowtime, today
import erpnext
@@ -40,15 +40,6 @@ from erpnext.subcontracting.doctype.subcontracting_order.subcontracting_order im
)
class UnitTestSubcontractingReceipt(UnitTestCase):
"""
Unit tests for SubcontractingReceipt.
Use this class for testing individual functions and methods.
"""
pass
class TestSubcontractingReceipt(IntegrationTestCase):
def setUp(self):
make_subcontracted_items()