Commit 30ce97e2 authored by Rafael Monnerat's avatar Rafael Monnerat

Use system preference for configure cloudooo (Functional Tests)

The appropriate document for Configure Cloudooo is a System Preference
and not a Preference.

This changes create a de default system preference for the functional
tests.
parent 6cc2ee50
......@@ -65,6 +65,16 @@ if pref is None:\n
\n
pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(\',\')))\n
pref.setPreferredHtmlStyleUnsavedFormWarning(False)\n
\n
if pref.getPreferenceState() == \'disabled\':\n
pref.enable()\n
\n
pref = getattr(context.portal_preferences, "erp5_ui_test_system_preference", None)\n
if pref is None:\n
pref = context.portal_preferences.newContent(id="erp5_ui_test_system_preference",\n
portal_type="System Preference",\n
priority=1)\n
\n
pref.setPreferredOoodocServerAddress(conversion_server_hostname)\n
pref.setPreferredOoodocServerPortNumber(conversion_server_port)\n
\n
......
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