test: Add test for bench_helper module
This commit is contained in:
parent
14bcd977b5
commit
cfba07df07
1 changed files with 9 additions and 0 deletions
|
|
@ -713,3 +713,12 @@ class TestBenchBuild(BaseTestCommands):
|
|||
CURRENT_SIZE * (1 + JS_ASSET_THRESHOLD),
|
||||
f"Default JS bundle size increased by {JS_ASSET_THRESHOLD:.2%} or more",
|
||||
)
|
||||
|
||||
|
||||
class TestCommandUtils(unittest.TestCase):
|
||||
def test_bench_helper(self):
|
||||
from frappe.utils.bench_helper import get_app_groups
|
||||
|
||||
app_groups = get_app_groups()
|
||||
self.assertIn("frappe", app_groups)
|
||||
self.assertIsInstance(app_groups["frappe"], click.Group)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue