test: update asset size values
This commit is contained in:
parent
e520a39da8
commit
c3c579bdc5
1 changed files with 3 additions and 3 deletions
|
|
@ -892,12 +892,12 @@ class TestAddNewUser(BaseTestCommands):
|
|||
|
||||
class TestBenchBuild(BaseTestCommands):
|
||||
def test_build_assets_size_check(self):
|
||||
with cli(frappe.commands.utils.build, "--force --production") as result:
|
||||
with cli(frappe.commands.utils.build, "--force --production --app frappe") as result:
|
||||
self.assertEqual(result.exit_code, 0)
|
||||
self.assertEqual(result.exception, None)
|
||||
|
||||
CURRENT_SIZE = 3.5 # MB
|
||||
JS_ASSET_THRESHOLD = 0.1
|
||||
CURRENT_SIZE = 3.3 # MB
|
||||
JS_ASSET_THRESHOLD = 0.05
|
||||
|
||||
hooks = frappe.get_hooks()
|
||||
default_bundle = hooks["app_include_js"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue