mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 02:11:39 +00:00
refactor: replace IntegrationTestCase with ERPNextTestCase repo-wide
- import ERPNextTestSuite - use it on test class
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from frappe.tests import IntegrationTestCase
|
||||
|
||||
from erpnext.tests.utils import ERPNextTestSuite
|
||||
from erpnext.utilities.activation import get_level
|
||||
|
||||
|
||||
class TestActivation(IntegrationTestCase):
|
||||
class TestActivation(ERPNextTestSuite):
|
||||
def test_activation(self):
|
||||
site_info = {"activation": {"activation_level": 0, "sales_data": []}}
|
||||
levels = get_level(site_info)
|
||||
|
||||
Reference in New Issue
Block a user