Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
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
Rafael Monnerat
slapos.core
Commits
c8980d30
Commit
c8980d30
authored
Aug 06, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'rafael/master'
parents
1957ca74
ed95ff78
Pipeline
#10881
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
master/product/SlapOS/tests/testSlapOSUpgradeInstanceWithOldDataFs.py
...ct/SlapOS/tests/testSlapOSUpgradeInstanceWithOldDataFs.py
+12
-0
No files found.
master/product/SlapOS/tests/testSlapOSUpgradeInstanceWithOldDataFs.py
View file @
c8980d30
...
...
@@ -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
()
...
...
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