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
Ivan Tyagov
slapos.core
Commits
366edaf0
Commit
366edaf0
authored
Sep 19, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_configurator/test: Update List of bt5 installed by the configurator
parent
21c3fbb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
11 deletions
+23
-11
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
...tem/portal_components/test.erp5.testSlapOSConfigurator.py
+23
-11
No files found.
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
View file @
366edaf0
...
@@ -27,12 +27,12 @@ class TestSlapOSConfigurator(testSlapOSMixin):
...
@@ -27,12 +27,12 @@ class TestSlapOSConfigurator(testSlapOSMixin):
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_pas"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_pas"
)
def
testConfiguredPASExternal
(
self
):
def
testConfiguredPASExternal
(
self
):
""" Make sure External PAS (Facebook, Google, Browser ID)
""" Make sure External PAS (Facebook, Google, Browser ID)
is well configured, in this case we trust on promise outcome."""
is well configured, in this case we trust on promise outcome."""
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_pas_external"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_pas_external"
)
def
testConfiguredModuleGeneratorID
(
self
):
def
testConfiguredModuleGeneratorID
(
self
):
""" Make sure Generator ID is well configured, in this
""" Make sure Generator ID is well configured, in this
case we trust on promise outcome."""
case we trust on promise outcome."""
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_module_id_generator"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_module_id_generator"
)
...
@@ -42,32 +42,32 @@ class TestSlapOSConfigurator(testSlapOSMixin):
...
@@ -42,32 +42,32 @@ class TestSlapOSConfigurator(testSlapOSMixin):
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_shacache_website"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_slapos_shacache_website"
)
def
testConfiguredVolatileCacheViaPromise
(
self
):
def
testConfiguredVolatileCacheViaPromise
(
self
):
""" Make sure Volitile Cache was configured well,
""" Make sure Volitile Cache was configured well,
invoking the alarm to check """
invoking the alarm to check """
self
.
_testConfiguredPromiseViaAlarm
(
"promise_memcached_server"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_memcached_server"
)
def
testConfiguredPersistentCacheViaPromise
(
self
):
def
testConfiguredPersistentCacheViaPromise
(
self
):
""" Make sure Persistent Cache was configured well,
""" Make sure Persistent Cache was configured well,
invoking the alarm to check """
invoking the alarm to check """
self
.
_testConfiguredPromiseViaAlarm
(
"promise_kumofs_server"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_kumofs_server"
)
def
testConfiguredConversionServerViaPromise
(
self
):
def
testConfiguredConversionServerViaPromise
(
self
):
""" Make sure Conversion Server was configured well,
""" Make sure Conversion Server was configured well,
invoking the alarm to check """
invoking the alarm to check """
self
.
_testConfiguredPromiseViaAlarm
(
"promise_conversion_server"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_conversion_server"
)
def
testConfiguredCertificateAuthoringViaPromise
(
self
):
def
testConfiguredCertificateAuthoringViaPromise
(
self
):
"""Make sure Certificate Authoring was configured well,
"""Make sure Certificate Authoring was configured well,
invoking the alarm to check. """
invoking the alarm to check. """
self
.
_testConfiguredPromiseViaAlarm
(
"promise_certificate_autority_tool"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_certificate_autority_tool"
)
def
testConfiguredTemplateToolViaPromise
(
self
):
def
testConfiguredTemplateToolViaPromise
(
self
):
""" Make sure Template Tool Repositories was configured well,
""" Make sure Template Tool Repositories was configured well,
invoking the alarm to check """
invoking the alarm to check """
self
.
_testConfiguredPromiseViaAlarm
(
"promise_template_tool_configuration"
)
self
.
_testConfiguredPromiseViaAlarm
(
"promise_template_tool_configuration"
)
def
testConfiguredVolatileCache
(
self
):
def
testConfiguredVolatileCache
(
self
):
""" Make sure Memcached is configured
""" Make sure Memcached is configured
"""
"""
if
self
.
isLiveTest
():
if
self
.
isLiveTest
():
# This test is redundant with testConfiguredVolatileCacheViaPromise
# This test is redundant with testConfiguredVolatileCacheViaPromise
...
@@ -99,9 +99,9 @@ class TestSlapOSConfigurator(testSlapOSMixin):
...
@@ -99,9 +99,9 @@ class TestSlapOSConfigurator(testSlapOSMixin):
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
self
.
assertEquals
(
memcached_tool
.
persistent_memcached_plugin
.
getUrlString
(),
self
.
assertEquals
(
memcached_tool
.
persistent_memcached_plugin
.
getUrlString
(),
url_string
)
url_string
)
def
testConfiguredConversionServer
(
self
):
def
testConfiguredConversionServer
(
self
):
""" Make sure Conversion Server (Cloudooo) is
""" Make sure Conversion Server (Cloudooo) is
well configured """
well configured """
if
self
.
isLiveTest
():
if
self
.
isLiveTest
():
# This test is redundant with testConfiguredVolatileCacheViaPromise
# This test is redundant with testConfiguredVolatileCacheViaPromise
...
@@ -184,11 +184,23 @@ class TestSlapOSConfigurator(testSlapOSMixin):
...
@@ -184,11 +184,23 @@ class TestSlapOSConfigurator(testSlapOSMixin):
'erp5_web_shacache'
,
'erp5_web_shacache'
,
'erp5_data_set'
,
'erp5_data_set'
,
'erp5_web_shadir'
,
'erp5_web_shadir'
,
'erp5_accounting'
,
'erp5_invoicing'
,
'erp5_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_credential_oauth2'
,
'erp5_credential_oauth2'
,
'erp5_accounting_l10n_fr'
,
'erp5_accounting_l10n_fr'
,
'erp5_ace_editor'
,
'erp5_code_mirror'
,
'erp5_font'
,
'erp5_hal_json_style'
,
'erp5_l10n_fr'
,
'erp5_l10n_zh'
,
'erp5_movement_table_catalog'
,
'erp5_web_renderjs_ui'
,
'erp5_web_service'
,
'slapos_ecoallocation'
,
'slapos_jio'
,
'slapos_l10n_zh'
,
'slapos_trial_request'
,
'erp5_bearer_token'
,
'erp5_bearer_token'
,
'erp5_access_token'
,
'erp5_access_token'
,
'erp5_project'
,
'erp5_project'
,
...
...
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