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
Laurent S
erp5
Commits
f48d6e96
Commit
f48d6e96
authored
May 30, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5TypeTestCase: Make it compatible with "Live Tests"
parent
ae4fc245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+4
-3
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
f48d6e96
...
@@ -429,6 +429,10 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
...
@@ -429,6 +429,10 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
property_sheet_set
.
add
(
property_sheet_name
)
property_sheet_set
.
add
(
property_sheet_name
)
ti
.
setTypePropertySheetList
(
list
(
property_sheet_set
))
ti
.
setTypePropertySheetList
(
list
(
property_sheet_set
))
# keep a mapping type info name -> property sheet list, to remove them in
# tear down.
if
not
hasattr
(
self
,
'_added_property_sheets'
):
self
.
_added_property_sheets
=
{}
# remember that we added a property sheet for tear down
# remember that we added a property sheet for tear down
if
getattr
(
self
,
'_added_property_sheets'
,
None
)
is
None
:
if
getattr
(
self
,
'_added_property_sheets'
,
None
)
is
None
:
self
.
_added_property_sheets
=
{}
self
.
_added_property_sheets
=
{}
...
@@ -854,9 +858,6 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
...
@@ -854,9 +858,6 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
template_list
[:
0
]
=
(
erp5_catalog_storage
,
'erp5_property_sheets'
,
template_list
[:
0
]
=
(
erp5_catalog_storage
,
'erp5_property_sheets'
,
'erp5_core'
,
'erp5_xhtml_style'
)
'erp5_core'
,
'erp5_xhtml_style'
)
# keep a mapping type info name -> property sheet list, to remove them in
# tear down.
self
.
_added_property_sheets
=
{}
light_install
=
self
.
enableLightInstall
()
light_install
=
self
.
enableLightInstall
()
create_activities
=
self
.
enableActivityTool
()
create_activities
=
self
.
enableActivityTool
()
hot_reindexing
=
self
.
enableHotReindexing
()
hot_reindexing
=
self
.
enableHotReindexing
()
...
...
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