Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matevz Golob
erp5
Commits
e767ebc8
Commit
e767ebc8
authored
Feb 27, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Remove tic from live tests
parent
8f199004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
bt5/erp5_business_package/TestTemplateItem/portal_components/test.erp5.testBusinessPackage.py
...teItem/portal_components/test.erp5.testBusinessPackage.py
+3
-7
No files found.
bt5/erp5_business_package/TestTemplateItem/portal_components/test.erp5.testBusinessPackage.py
View file @
e767ebc8
...
...
@@ -253,20 +253,18 @@ class TestBusinessPackage(ERP5TypeTestCase):
path_item_catalog_A
=
'%s | %s | %s'
%
(
path_catalog_A
,
1
,
1
)
path_item_list_A
=
[
path_item_catalog_A
]
managerA
.
_setTemplatePathList
(
path_item_list_A
)
self
.
tic
()
built_manager_A
=
managerA
.
build
()
# Delete the catalog object
self
.
portal
.
portal_catalog
.
manage_delObjects
(
[
test_catalog_A
.
getId
(),])
self
.
tic
()
# Test that the catalog don't exist on site anymore
self
.
assertRaises
(
KeyError
,
lambda
:
self
.
portal
.
restrictedTraverse
(
path_catalog_A
))
# Install the Business Manager A
portal_templates
.
installMultipleBusinessManager
([
built_manager_A
])
self
.
tic
()
# Test that the catalog exists
catalog_1
=
self
.
portal
.
restrictedTraverse
(
path_catalog_A
)
...
...
@@ -279,20 +277,18 @@ class TestBusinessPackage(ERP5TypeTestCase):
reference
=
'erp5-package.Test.Document'
,
data
=
'test data'
,
)
self
.
tic
()
path_item_document_B
=
'%s | %s | %s'
%
(
path_document_B
.
getRelativeUrl
(),
1
,
1
)
managerB
.
_setTemplatePathList
([
path_item_document_B
])
self
.
tic
()
built_manager_B
=
managerB
.
build
()
# Delete the document object
self
.
portal
.
document_module
.
manage_delObjects
(
[
path_document_B
.
getId
(),])
self
.
tic
()
# Add an empty path list in managerA
managerA
.
_setTemplatePathList
([])
self
.
tic
()
built_manager_A
=
managerA
.
build
()
# Try installing built Business Managers A and B together
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment