charm-cinder-solidfire/tests/tests.py
Gustavo Sanchez 9f9ebd832e Add functional tests
Also migrate test bundles to charmhub

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/700
Change-Id: I001b79506ed623f39b61b62db1f70f3829bb4bbb
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-25 12:30:17 +01:00

18 lines
590 B
Python

from zaza.openstack.charm_tests.cinder_backend.tests import CinderBackendTest
from os import environ
class CinderSolidfireTest(CinderBackendTest):
"""Encapsulate cinder-solidfire tests."""
backend_name = 'cinder-solidfire'
expected_config_content = {
'cinder-solidfire': {
'volume_driver':
['cinder.volume.drivers.solidfire.SolidFireDriver'],
'san_ip': environ['TEST_SOLIDFIRE_SAN_IP'],
'san_login': environ['TEST_SOLIDFIRE_SAN_USERNAME'],
'san_password': environ['TEST_SOLIDFIRE_SAN_PASSWORD']
}}