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
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
Cédric Le Ninivin
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
Changes
2
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
...
@@ -29,10 +29,14 @@ class testSlapOSSubscriptionNewTemplateChineseScenario(TestSlapOSSubscriptionChi
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
beforeTearDown
(
self
):
def
beforeTearDown
(
self
):
TestSlapOSSubscriptionChineseScenarioMixin
.
beforeTearDown
(
self
)
TestSlapOSSubscriptionChineseScenarioMixin
.
beforeTearDown
(
self
)
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
test_subscription_scenario_with_single_vm
(
self
):
def
test_subscription_scenario_with_single_vm
(
self
):
self
.
_test_subscription_scenario
(
amount
=
1
)
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
...
@@ -29,11 +29,14 @@ class testSlapOSSubscriptionNewTemplateScenario(TestSlapOSSubscriptionScenarioMi
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
expected_source_section
=
organisation
.
getRelativeUrl
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
beforeTearDown
(
self
):
def
beforeTearDown
(
self
):
TestSlapOSSubscriptionScenarioMixin
.
beforeTearDown
(
self
)
TestSlapOSSubscriptionScenarioMixin
.
beforeTearDown
(
self
)
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
restoreAccountingTemplatesOnPreferences
()
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
tic
()
def
test_subscription_scenario_with_single_vm
(
self
):
def
test_subscription_scenario_with_single_vm
(
self
):
self
.
_test_subscription_scenario
(
amount
=
1
)
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