From b76cd527e1b8f11e06bdb0ad1973b5b647201d2e Mon Sep 17 00:00:00 2001 From: Alain Takoudjou <talino@tiolive.com> Date: Wed, 12 Nov 2014 11:56:12 +0000 Subject: [PATCH] Fix some module import error, after the migration of test scripts to portal_components --- .../test.erp5.testSlapOSAccountingConstraint.py | 2 +- .../portal_components/test.erp5.testSlapOSCloudShadow.py | 2 +- .../test.erp5.testSlapOSERP5DefaultScenario.py | 2 +- ...p5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py b/master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py index 75a5b154b..afaf0f369 100644 --- a/master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py +++ b/master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py @@ -4,7 +4,7 @@ # Copyright (c) 2012 Nexedi SA and Contributors. All Rights Reserved. # ############################################################################## -from testSlapOSCloudConstraint import TestSlapOSConstraintMixin +from erp5.component.test.testSlapOSCloudConstraint import TestSlapOSConstraintMixin from Products.ERP5Type.Base import WorkflowMethod from Products.SlapOS.tests.testSlapOSMixin import withAbort from Products.ERP5Type.tests.backportUnittest import skip diff --git a/master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudShadow.py b/master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudShadow.py index fccef9b03..4a94eadac 100644 --- a/master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudShadow.py +++ b/master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudShadow.py @@ -30,7 +30,7 @@ import unittest import random import transaction from AccessControl import getSecurityManager -from testSlapOSCloudSecurityGroup import TestSlapOSSecurityMixin +from erp5.component.test.testSlapOSCloudSecurityGroup import TestSlapOSSecurityMixin class TestSlapOSShadowPerson(TestSlapOSSecurityMixin): def test_active(self): diff --git a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py index bed60eba9..6c50d5453 100644 --- a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py +++ b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py @@ -5,7 +5,7 @@ # ############################################################################## -from testSlapOSCloudSecurityGroup import TestSlapOSSecurityMixin +from erp5.component.test.testSlapOSCloudSecurityGroup import TestSlapOSSecurityMixin import re import xml_marshaller from AccessControl.SecurityManagement import getSecurityManager, \ diff --git a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py index 481a4b255..2636ab601 100644 --- a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py +++ b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow.py @@ -1,5 +1,5 @@ # Copyright (c) 2002-2012 Nexedi SA and Contributors. All Rights Reserved. -from testSlapOSERP5GroupRoleSecurity import TestSlapOSGroupRoleSecurityMixin +from erp5.component.test.testSlapOSERP5GroupRoleSecurity import TestSlapOSGroupRoleSecurityMixin import transaction class TestSlapOSLocalPermissionSlapOSInteractionWorkflow( -- 2.30.9