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
18
Merge Requests
18
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
nexedi
slapos.core
Commits
05d3248d
Commit
05d3248d
authored
Jul 10, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_subscription_request: Clear cache as preferences are updated
parent
d1f9bbd7
Pipeline
#10419
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionNewTemplateChineseScenario.py
....erp5.testSlapOSSubscriptionNewTemplateChineseScenario.py
+4
-0
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionNewTemplateScenario.py
...ts/test.erp5.testSlapOSSubscriptionNewTemplateScenario.py
+4
-1
No files found.
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionNewTemplateChineseScenario.py
View file @
05d3248d
...
...
@@ -29,10 +29,14 @@ class testSlapOSSubscriptionNewTemplateChineseScenario(TestSlapOSSubscriptionChi
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
beforeTearDown
(
self
):
TestSlapOSSubscriptionChineseScenarioMixin
.
beforeTearDown
(
self
)
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
test_subscription_scenario_with_single_vm
(
self
):
self
.
_test_subscription_scenario
(
amount
=
1
)
...
...
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionNewTemplateScenario.py
View file @
05d3248d
...
...
@@ -29,11 +29,14 @@ class testSlapOSSubscriptionNewTemplateScenario(TestSlapOSSubscriptionScenarioMi
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
beforeTearDown
(
self
):
TestSlapOSSubscriptionScenarioMixin
.
beforeTearDown
(
self
)
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
test_subscription_scenario_with_single_vm
(
self
):
self
.
_test_subscription_scenario
(
amount
=
1
)
...
...
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