diff --git a/frappe/commands/site.py b/frappe/commands/site.py index b72d98c433..d343d10126 100755 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -296,7 +296,7 @@ def migrate(context, rebuild_website=False, skip_failing=False, skip_search_inde if not context.sites: raise SiteNotSpecifiedError - print("Compiling Python Files...") + print("Compiling Python files...") compileall.compile_dir('../apps', quiet=1, rx=re.compile('.*node_modules.*')) @click.command('migrate-to') diff --git a/frappe/workflow/doctype/workflow/test_workflow.py b/frappe/workflow/doctype/workflow/test_workflow.py index 22a9c97c1f..ca3fd495a5 100644 --- a/frappe/workflow/doctype/workflow/test_workflow.py +++ b/frappe/workflow/doctype/workflow/test_workflow.py @@ -35,7 +35,9 @@ class TestWorkflow(unittest.TestCase): '''test simple workflow''' todo = doc or self.test_default_condition() + print_sql(True) apply_workflow(todo, 'Approve') + print_sql(False) # default condition is set self.assertEqual(todo.workflow_state, 'Approved') self.assertEqual(todo.status, 'Closed')