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
270c2da0
Commit
270c2da0
authored
Apr 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: rename testUpgradeInstanceWithOldDataFs "legacy workflow"
parent
c447fe8b
Changes
2
Hide 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 @
270c2da0
...
...
@@ -33,7 +33,7 @@ from six.moves.urllib.parse import urlencode
import
six.moves.http_client
class
TestUpgradeInstanceWithOldDataFs
(
ERP5TypeTestCase
):
class
TestUpgradeInstanceWithOldDataFs
WithLegacyWorkflow
(
ERP5TypeTestCase
):
def
getBusinessTemplateList
(
self
):
return
(
'erp5_core_proxy_field_legacy'
,
...
...
@@ -155,5 +155,5 @@ class TestUpgradeInstanceWithOldDataFs(ERP5TypeTestCase):
def
test_suite
():
suite
=
unittest
.
TestSuite
()
if
WITH_LEGACY_WORKFLOW
:
suite
.
addTest
(
unittest
.
makeSuite
(
TestUpgradeInstanceWithOldDataFs
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestUpgradeInstanceWithOldDataFs
WithLegacyWorkflow
))
return
suite
tests/__init__.py
View file @
270c2da0
...
...
@@ -114,7 +114,7 @@ class ERP5(_ERP5):
return
self
.
runUnitTest
(
'--load'
,
'--save'
,
'--with_wendelin_core'
,
full_test
)
elif
test
.
startswith
(
'testFunctional'
):
return
self
.
_updateFunctionalTestResponse
(
self
.
runUnitTest
(
full_test
))
elif
test
==
'testUpgradeInstanceWithOldDataFs'
:
elif
test
.
startswith
(
'testUpgradeInstanceWithOldDataFs'
)
:
old_data_path
=
None
for
path
in
sys
.
path
:
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