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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
92552919
Commit
92552919
authored
Mar 23, 2015
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unit tests : erp5_trade depends on erp5_pdm, fix bt5list in unit tests
parent
f4639fde
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
product/CMFCategory/tests/testCMFCategory.py
product/CMFCategory/tests/testCMFCategory.py
+1
-1
product/ERP5/tests/testTradeReports.py
product/ERP5/tests/testTradeReports.py
+1
-1
product/ERP5/tests/testTranslation.py
product/ERP5/tests/testTranslation.py
+1
-1
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+1
-1
product/ERP5Type/tests/testFunctionalKM.py
product/ERP5Type/tests/testFunctionalKM.py
+2
-2
product/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
...ct/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
+2
-2
product/ERP5Type/tests/testXMLMatrix.py
product/ERP5Type/tests/testXMLMatrix.py
+1
-1
No files found.
product/CMFCategory/tests/testCMFCategory.py
View file @
92552919
...
@@ -84,7 +84,7 @@ class TestCMFCategory(ERP5TypeTestCase):
...
@@ -84,7 +84,7 @@ class TestCMFCategory(ERP5TypeTestCase):
/organisation
/organisation
"""
"""
return
(
'erp5_base'
,
'erp5_trade'
)
return
(
'erp5_base'
,
'erp5_
pdm'
,
'erp5_
trade'
)
def
getCategoriesTool
(
self
):
def
getCategoriesTool
(
self
):
return
getattr
(
self
.
portal
,
'portal_categories'
,
None
)
return
getattr
(
self
.
portal
,
'portal_categories'
,
None
)
...
...
product/ERP5/tests/testTradeReports.py
View file @
92552919
...
@@ -43,7 +43,7 @@ class TestTradeReports(ERP5ReportTestCase):
...
@@ -43,7 +43,7 @@ class TestTradeReports(ERP5ReportTestCase):
def
getBusinessTemplateList
(
self
):
def
getBusinessTemplateList
(
self
):
"""Returns list of BT to be installed."""
"""Returns list of BT to be installed."""
return
(
'erp5_core_proxy_field_legacy'
,
return
(
'erp5_core_proxy_field_legacy'
,
'erp5_base'
,
'erp5_trade'
,
'erp5_pdm'
,
)
'erp5_base'
,
'erp5_
pdm'
,
'erp5_
trade'
,
'erp5_pdm'
,
)
def
login
(
self
):
def
login
(
self
):
"""login with Manager roles."""
"""login with Manager roles."""
...
...
product/ERP5/tests/testTranslation.py
View file @
92552919
...
@@ -37,10 +37,10 @@ from Products.ERP5Type.Utils import getMessageIdWithContext
...
@@ -37,10 +37,10 @@ from Products.ERP5Type.Utils import getMessageIdWithContext
target_business_templates
=
(
target_business_templates
=
(
'erp5_base'
,
'erp5_base'
,
'erp5_simulation'
,
'erp5_simulation'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_trade'
,
'erp5_pdf_editor'
,
'erp5_pdf_editor'
,
'erp5_pdm'
,
'erp5_accounting'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_invoicing'
,
...
...
product/ERP5/tests/testXHTML.py
View file @
92552919
...
@@ -355,10 +355,10 @@ class TestXHTML(TestXHTMLMixin):
...
@@ -355,10 +355,10 @@ class TestXHTML(TestXHTMLMixin):
'erp5_core_proxy_field_legacy'
,
'erp5_core_proxy_field_legacy'
,
'erp5_base'
,
'erp5_base'
,
'erp5_simulation'
,
'erp5_simulation'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_trade'
,
'erp5_pdf_editor'
,
'erp5_pdf_editor'
,
'erp5_pdm'
,
'erp5_accounting'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_invoicing'
,
...
...
product/ERP5Type/tests/testFunctionalKM.py
View file @
92552919
...
@@ -47,8 +47,8 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
...
@@ -47,8 +47,8 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_ui_test'
,
'erp5_forge'
,
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_ui_test'
,
'erp5_forge'
,
'erp5_dhtml_style'
,
'erp5_dhtml_ui_test'
,
'erp5_dhtml_style'
,
'erp5_dhtml_ui_test'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_knowledge_pad'
,
'erp5_knowledge_pad'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_
pdm'
,
'erp5_
ooo_import'
,
'erp5_trade'
,
'erp5_ooo_import'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_project'
,
'erp5_simplified_invoicing'
,
'erp5_project'
,
'erp5_simulation'
,
'erp5_simulation_test'
,
'erp5_simulation'
,
'erp5_simulation_test'
,
...
...
product/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
View file @
92552919
...
@@ -52,8 +52,8 @@ class TestZeleniumStandaloneUserTutorial(ERP5TypeFunctionalTestCase):
...
@@ -52,8 +52,8 @@ class TestZeleniumStandaloneUserTutorial(ERP5TypeFunctionalTestCase):
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_forge'
,
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_forge'
,
'erp5_dhtml_style'
,
'erp5_dhtml_style'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_knowledge_pad'
,
'erp5_knowledge_pad'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_
pdm'
,
'erp5_
ooo_import'
,
'erp5_trade'
,
'erp5_ooo_import'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_project'
,
'erp5_simplified_invoicing'
,
'erp5_project'
,
'erp5_simulation'
,
'erp5_simulation'
,
...
...
product/ERP5Type/tests/testXMLMatrix.py
View file @
92552919
...
@@ -45,7 +45,7 @@ class TestXMLMatrix(ERP5TypeTestCase, LogInterceptor):
...
@@ -45,7 +45,7 @@ class TestXMLMatrix(ERP5TypeTestCase, LogInterceptor):
"""
"""
Return the list of business templates.
Return the list of business templates.
"""
"""
return
(
'erp5_base'
,
'erp5_trade'
,)
return
(
'erp5_base'
,
'erp5_
pdm'
,
'erp5_
trade'
,)
def
getTitle
(
self
):
def
getTitle
(
self
):
"""
"""
...
...
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