mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 20:35:09 +00:00
11 lines
300 B
Python
11 lines
300 B
Python
from frappe.tests import IntegrationTestCase
|
|
|
|
from erpnext.utilities.activation import get_level
|
|
|
|
|
|
class TestActivation(IntegrationTestCase):
|
|
def test_activation(self):
|
|
site_info = {"activation": {"activation_level": 0, "sales_data": []}}
|
|
levels = get_level(site_info)
|
|
self.assertTrue(levels)
|