From 5f32871257a780c0f6c7c01981d6245685c14448 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 14 Jun 2012 16:35:14 +0300 Subject: [PATCH] stepTic -> tic --- product/ERP5/tests/testBusinessTemplate.py | 12 ++++++------ product/ERP5Catalog/tests/testERP5Catalog.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py index 3a96509e3b..f14466d242 100644 --- a/product/ERP5/tests/testBusinessTemplate.py +++ b/product/ERP5/tests/testBusinessTemplate.py @@ -6555,7 +6555,7 @@ class TestBusinessTemplate(BusinessTemplateMixin): new_object.__ac_local_roles__ = dict(group=['Assignee']) new_object.__ac_local_roles_group_id_dict__ = dict(group=('Alternate',)) - self.stepTic() + self.tic() transaction.commit() object_type.newContent(portal_type='Role Information', @@ -6569,13 +6569,13 @@ class TestBusinessTemplate(BusinessTemplateMixin): template_path_list=('geek_module/1',), template_portal_type_role_list=('Geek Object',),) - self.stepTic() + self.tic() bt.build() - self.stepTic() + self.tic() export_dir = tempfile.mkdtemp() try: bt.export(path=export_dir, local=True) - self.stepTic() + self.tic() new_bt = self.portal.portal_templates.download( url='file://%s' % export_dir) finally: @@ -6584,7 +6584,7 @@ class TestBusinessTemplate(BusinessTemplateMixin): # uninstall role information and paths object_type.manage_delObjects([x.id for x in object_type.getRoleInformationList()]) self.portal.geek_module.manage_delObjects(['1']) - self.stepTic() + self.tic() new_bt.install() try: @@ -6601,7 +6601,7 @@ class TestBusinessTemplate(BusinessTemplateMixin): saved_sql_catalog_security_uid_columns types_tool.manage_delObjects(['Geek Object', 'Geek Module']) self.portal.manage_delObjects(['geek_module']) - self.stepTic() + self.tic() def test_BusinessTemplateWithTest(self): sequence_list = SequenceList() diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py index b4ae303e9b..44e07ab54b 100644 --- a/product/ERP5Catalog/tests/testERP5Catalog.py +++ b/product/ERP5Catalog/tests/testERP5Catalog.py @@ -4481,7 +4481,7 @@ CREATE TABLE alternate_roles_and_users ( local_roles_group_id='Alternate') self.portal.portal_caches.clearAllCache() - self.stepTic() + self.tic() try: # create two persons and users @@ -4496,7 +4496,7 @@ CREATE TABLE alternate_roles_and_users ( user2.newContent(portal_type='Assignment').open() user2.updateLocalRolesOnSecurityGroups() self.assertEquals(user2.__ac_local_roles__.get('user2'), ['Auditor']) - self.stepTic() + self.tic() # security_uid_dict in catalog contains entries for user1 and user2: user1_alternate_security_uid = sql_catalog.security_uid_dict[ -- 2.30.9