Commit 413fc431 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add an argument and use redirect in TestTool_setSkinNameCookie.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26517 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57e97a60
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
context.REQUEST.RESPONSE.setCookie(\'portal_skin\', skin_name)\n context.REQUEST.RESPONSE.setCookie(\'portal_skin\', skin_name)\n
else:\n else:\n
context.REQUEST.RESPONSE.expireCookie(\'portal_skin\')\n context.REQUEST.RESPONSE.expireCookie(\'portal_skin\')\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -67,7 +68,7 @@ else:\n ...@@ -67,7 +68,7 @@ else:\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string>skin_name=\'\'</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -87,7 +88,7 @@ else:\n ...@@ -87,7 +88,7 @@ else:\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
...@@ -107,7 +108,9 @@ else:\n ...@@ -107,7 +108,9 @@ else:\n
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<string></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
8 9
\ 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