From 75618d42d1e6f9b5b5c2a9d65389fcbc5a868efc Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Mon, 18 Jun 2012 13:11:44 +0200 Subject: [PATCH] Follow up change on use UnrestrictedMethod's super user Follow up the commit 4b16e1dd391f2f840bf65f04d3911364df6393ae (use UnrestrictedMethod's super user instead of ad-hoc SUPER_USER.) --- .../erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml b/bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml index 79dda3e34c..9443779288 100644 --- a/bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml +++ b/bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml @@ -72,7 +72,7 @@ for result in result_list:\n if strict_check_mode and method() != kw[key]:\n raise RuntimeError, "One property is not the same that you wanted : you asked \'%s\' and expecting \'%s\' but get \'%s\'" % (key, kw[key], method())\n # check that every object are owner by you\n - if strict_check_mode and object.Base_getOwnerId() not in [owner_id, functional_test_username, \'__erp5security-=__\', functional_another_test_username]:\n + if strict_check_mode and object.Base_getOwnerId() not in [owner_id, functional_test_username, \'System Processes\', functional_another_test_username]:\n raise RuntimeError, "You have try to clean an item who haven\'t you as owner : %s is owned by %s and you are %s" % \\\n (object.getTitle(), object.Base_getOwnerId(), owner_id)\n \n -- 2.30.9