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
Mikolaï Krol
erp5
Commits
8bb9149a
Commit
8bb9149a
authored
Jan 08, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_upgrader: fix test_can_not_run_upgrade_without_solve_pre_upgrade
Active process detail is a list of strings.
parent
aca90e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_upgrader/TestTemplateItem/portal_components/test.erp5.testUpgrader.py
...tTemplateItem/portal_components/test.erp5.testUpgrader.py
+2
-2
No files found.
bt5/erp5_upgrader/TestTemplateItem/portal_components/test.erp5.testUpgrader.py
View file @
8bb9149a
...
@@ -360,8 +360,8 @@ class TestUpgrader(ERP5TypeTestCase):
...
@@ -360,8 +360,8 @@ class TestUpgrader(ERP5TypeTestCase):
def stepCheckSummaryForPreUpgradeRequired(self, sequence=None):
def stepCheckSummaryForPreUpgradeRequired(self, sequence=None):
alarm = self.portal.portal_alarms.upgrader_check_upgrader
alarm = self.portal.portal_alarms.upgrader_check_upgrader
active_process = alarm.getLastActiveProcess()
active_process = alarm.getLastActiveProcess()
detail = active_process.getResultList()[0].detail
detail
_list
= active_process.getResultList()[0].detail
self.assertTrue("
Is
required
solve
Pre
Upgrade
first
" in detail
)
self.assertTrue("
Is
required
run
upgrade
before
solve
it
.
You
need
run
active
sense
once
at
least
on
this
alarm
" in detail_list
)
def stepCheckPersonNotInConstraintTypeListPerPortalType(self, sequence=None):
def stepCheckPersonNotInConstraintTypeListPerPortalType(self, sequence=None):
constraint_type_per_type, _ =
\
constraint_type_per_type, _ =
\
...
...
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