mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide
- import ERPNextTestSuite - use it on test class
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import frappe
|
||||
from frappe.tests import IntegrationTestCase
|
||||
|
||||
from erpnext.tests.utils import ERPNextTestSuite
|
||||
|
||||
INDEXED_FIELDS = {
|
||||
"Bin": ["item_code"],
|
||||
@@ -8,7 +9,7 @@ INDEXED_FIELDS = {
|
||||
}
|
||||
|
||||
|
||||
class TestPerformance(IntegrationTestCase):
|
||||
class TestPerformance(ERPNextTestSuite):
|
||||
def test_ensure_indexes(self):
|
||||
# These fields are not explicitly indexed BUT they are prefix in some
|
||||
# other composite index. If those are removed this test should be
|
||||
|
||||
Reference in New Issue
Block a user