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
Nikola Balog
erp5
Commits
81e61694
Commit
81e61694
authored
Jan 09, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_package: invoke activities after creating new packages in test components
parent
43c673d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_business_package/TestTemplateItem/portal_components/test.erp5.testBusinessPackage.py
...teItem/portal_components/test.erp5.testBusinessPackage.py
+5
-2
No files found.
bt5/erp5_business_package/TestTemplateItem/portal_components/test.erp5.testBusinessPackage.py
View file @
81e61694
...
...
@@ -66,7 +66,6 @@ class TestBusinessPackage(ERP5TypeTestCase):
# here, you can create the categories and objects your test will depend on
#self.export_dir = tempfile.mkdtmp(dir=tests_home)
self
.
portal
=
self
.
getPortalObject
()
self
.
installation_tree
=
InstallationTree
()
def
beforeTearDown
(
self
):
try
:
...
...
@@ -84,6 +83,7 @@ class TestBusinessPackage(ERP5TypeTestCase):
package
.
edit
(
title
=
'test_package'
,
version
=
'1.0'
,
description
=
'package for live test'
)
self
.
tic
()
return
package
def
_buildAndExportBusinessPackage
(
self
,
package
):
...
...
@@ -148,6 +148,9 @@ class TestBusinessPackage(ERP5TypeTestCase):
"""
Test two Business Packages build and installation of same file.
Here we will be using Insatallation Tree to install in the two packages
all together, rather than doing installation one after another.
Expected result: If we install same object from 2 different business packages,
then in that case the installation object should compare between the
state of OFS and installation and install accordingly.
...
...
@@ -190,4 +193,4 @@ class TestBusinessPackage(ERP5TypeTestCase):
# We try to install pakcages via mapping the installation tree to ZODB
# As both have exactly same document we expect that only one of them get installed
installation_tree
.
map
()
installation_tree
.
map
ToERP5Site
()
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