Commit 8bb9149a authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_upgrader: fix test_can_not_run_upgrade_without_solve_pre_upgrade

Active process detail is a list of strings.
parent aca90e2a
......@@ -360,8 +360,8 @@ class TestUpgrader(ERP5TypeTestCase):
def stepCheckSummaryForPreUpgradeRequired(self, sequence=None):
alarm = self.portal.portal_alarms.upgrader_check_upgrader
active_process = alarm.getLastActiveProcess()
detail = active_process.getResultList()[0].detail
self.assertTrue("Is required solve Pre Upgrade first" in detail)
detail_list = active_process.getResultList()[0].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):
constraint_type_per_type, _ = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment