From ff08ee6ada2e8dbdc4596f77a47a4f78265f6283 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 23 Sep 2025 14:06:02 +0530 Subject: [PATCH] test: activation with site_info (cherry picked from commit 5a26d593e4ec91098599b4c2260b6bc63a1b2532) --- erpnext/tests/test_activation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/tests/test_activation.py b/erpnext/tests/test_activation.py index b56e2332cf4..ec210c919de 100644 --- a/erpnext/tests/test_activation.py +++ b/erpnext/tests/test_activation.py @@ -5,5 +5,6 @@ from erpnext.utilities.activation import get_level class TestActivation(FrappeTestCase): def test_activation(self): - levels = get_level() + site_info = {"activation": {"activation_level": 0, "sales_data": []}} + levels = get_level(site_info) self.assertTrue(levels)