Enable bionic/stein and disco/stein functional tests

Change-Id: I51e0d1c03c12445693d93d65a6996d468e4e391b
This commit is contained in:
Frode Nordahl 2019-04-08 13:51:28 +02:00
parent 0777bde3d3
commit f216c92836
2 changed files with 47 additions and 0 deletions

23
src/tests/dev-basic-disco-stein Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python
#
# Copyright 2017 Canonical Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Amulet tests on a basic Keystone LDAP Charm deployment on disco-stein."""
from basic_deployment import KeystoneLDAPCharmDeployment
if __name__ == '__main__':
deployment = KeystoneLDAPCharmDeployment(series='disco')
deployment.run_tests()

View File

@ -0,0 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2017 Canonical Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Amulet tests on a basic Keystone LDAP Charm deployment on bionic-mitaka."""
from basic_deployment import KeystoneLDAPCharmDeployment
if __name__ == '__main__':
deployment = KeystoneLDAPCharmDeployment(series='bionic',
openstack='cloud:bionic-stein')
deployment.run_tests()