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
Carlos Ramos Carreño
erp5
Commits
a07b7827
Commit
a07b7827
authored
Apr 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: rename testUpgradeInstanceWithOldDataFs "legacy workflow"
parent
6524eaea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5Type/tests/testUpgradeInstanceWithOldDataFsLegacyWorkflow.py
...e/tests/testUpgradeInstanceWithOldDataFsLegacyWorkflow.py
+2
-2
tests/__init__.py
tests/__init__.py
+1
-1
No files found.
product/ERP5Type/tests/testUpgradeInstanceWithOldDataFs.py
→
product/ERP5Type/tests/testUpgradeInstanceWithOldDataFs
LegacyWorkflow
.py
View file @
a07b7827
...
@@ -33,7 +33,7 @@ from six.moves.urllib.parse import urlencode
...
@@ -33,7 +33,7 @@ from six.moves.urllib.parse import urlencode
import
six.moves.http_client
import
six.moves.http_client
class
TestUpgradeInstanceWithOldDataFs
(
ERP5TypeTestCase
):
class
TestUpgradeInstanceWithOldDataFs
WithLegacyWorkflow
(
ERP5TypeTestCase
):
def
getBusinessTemplateList
(
self
):
def
getBusinessTemplateList
(
self
):
return
(
'erp5_core_proxy_field_legacy'
,
return
(
'erp5_core_proxy_field_legacy'
,
...
@@ -155,5 +155,5 @@ class TestUpgradeInstanceWithOldDataFs(ERP5TypeTestCase):
...
@@ -155,5 +155,5 @@ class TestUpgradeInstanceWithOldDataFs(ERP5TypeTestCase):
def
test_suite
():
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
=
unittest
.
TestSuite
()
if
WITH_LEGACY_WORKFLOW
:
if
WITH_LEGACY_WORKFLOW
:
suite
.
addTest
(
unittest
.
makeSuite
(
TestUpgradeInstanceWithOldDataFs
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestUpgradeInstanceWithOldDataFs
WithLegacyWorkflow
))
return
suite
return
suite
tests/__init__.py
View file @
a07b7827
...
@@ -114,7 +114,7 @@ class ERP5(_ERP5):
...
@@ -114,7 +114,7 @@ class ERP5(_ERP5):
return
self
.
runUnitTest
(
'--load'
,
'--save'
,
'--with_wendelin_core'
,
full_test
)
return
self
.
runUnitTest
(
'--load'
,
'--save'
,
'--with_wendelin_core'
,
full_test
)
elif
test
.
startswith
(
'testFunctional'
):
elif
test
.
startswith
(
'testFunctional'
):
return
self
.
_updateFunctionalTestResponse
(
self
.
runUnitTest
(
full_test
))
return
self
.
_updateFunctionalTestResponse
(
self
.
runUnitTest
(
full_test
))
elif
test
==
'testUpgradeInstanceWithOldDataFs'
:
elif
test
.
startswith
(
'testUpgradeInstanceWithOldDataFs'
)
:
old_data_path
=
None
old_data_path
=
None
for
path
in
sys
.
path
:
for
path
in
sys
.
path
:
if
path
.
endswith
(
'/erp5-bin'
):
if
path
.
endswith
(
'/erp5-bin'
):
...
...
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