Commit c8980d30 authored by Rafael Monnerat's avatar Rafael Monnerat

Merge remote-tracking branch 'rafael/master'

parents 1957ca74 ed95ff78
Pipeline #10881 failed with stage
in 0 seconds
......@@ -30,8 +30,20 @@ from testSlapOSMixin import testSlapOSMixin
import unittest
class TestUpgradeInstanceWithOldDataFs(testSlapOSMixin):
def afterSetUp(self):
# Do nothing as all work is done on the saved testSlapOSMixin already
# When save the data.fs
pass
def getBusinessTemplateList(self):
# we dont need bt5 as this test is supposed to run only as --load
return ['erp5_core']
def testUpgrade(self):
if not self.portal.portal_templates.getRepositoryList():
self.setupAutomaticBusinessTemplateRepository(
searchable_business_template_list=["erp5_core", "erp5_base",
"slapos_erp5", "erp5_slapos_tutorial"])
alarm = self.portal.portal_alarms.promise_check_upgrade
alarm.solve()
......
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