Commit d8fe7a9a authored by Łukasz Nowak's avatar Łukasz Nowak

- follow 34994 - disable 'unsaved form warning' for functional tests


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35776 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a28661c5
...@@ -63,6 +63,7 @@ pref = getattr(context.portal_preferences, "erp5_ui_test_preference", None)\n ...@@ -63,6 +63,7 @@ pref = getattr(context.portal_preferences, "erp5_ui_test_preference", None)\n
if pref is None:\n if pref is None:\n
pref = context.portal_preferences.newContent(id="erp5_ui_test_preference", portal_type="Preference")\n pref = context.portal_preferences.newContent(id="erp5_ui_test_preference", portal_type="Preference")\n
pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(\',\')))\n pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(\',\')))\n
pref.setPreferredHtmlStyleUnsavedFormWarning(False)\n
if pref.getPreferenceState() == \'disabled\':\n if pref.getPreferenceState() == \'disabled\':\n
pref.enable()\n pref.enable()\n
\n \n
...@@ -110,6 +111,7 @@ return \'Set Preference Successfully.\'\n ...@@ -110,6 +111,7 @@ return \'Set Preference Successfully.\'\n
<string>None</string> <string>None</string>
<string>pref</string> <string>pref</string>
<string>tuple</string> <string>tuple</string>
<string>False</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -128,6 +130,10 @@ return \'Set Preference Successfully.\'\n ...@@ -128,6 +130,10 @@ return \'Set Preference Successfully.\'\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BTZuite_setPreference</string> </value> <value> <string>BTZuite_setPreference</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string>Set Test Runner Preferences</string> </value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
20 21
\ No newline at end of file \ No newline at end of file
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