Commit d99e00c7 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_ui_test_core: set default editors

parent 09133b47
"""Set subversion working copy list and enable preference.
"""Set subversion working copy list, set text editor and enable preference.
This script is called by Products.ERP5Type.tests.runFunctionalTest to set
subversion working copy paths and conversion server address.
......@@ -13,6 +13,8 @@ if pref is None:
pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(',')))
pref.setPreferredHtmlStyleUnsavedFormWarning(False)
pref.setPreferredTextEditor(text_editor)
pref.setPreferredSourceCodeEditor(source_code_editor)
if pref.getPreferenceState() == 'disabled':
pref.enable()
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>working_copy_list</string> </value>
<value> <string>working_copy_list, text_editor="fck_editor", source_code_editor="codemirror"</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment