From 0fa6fed20c326dd260777ae18bc96ffdbc425d2c Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 18 Jul 2018 18:36:27 -0400 Subject: [PATCH] Update functional test definitions Change-Id: I6eace88db8fe18ec2a5f3048e42aca475ead24fb --- src/tests/dev-basic-bionic-rocky | 24 ++++++++++++++++++++++++ src/tests/dev-basic-cosmic-rocky | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100755 src/tests/dev-basic-bionic-rocky create mode 100755 src/tests/dev-basic-cosmic-rocky diff --git a/src/tests/dev-basic-bionic-rocky b/src/tests/dev-basic-bionic-rocky new file mode 100755 index 0000000..a719f33 --- /dev/null +++ b/src/tests/dev-basic-bionic-rocky @@ -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-rocky') + deployment.run_tests() diff --git a/src/tests/dev-basic-cosmic-rocky b/src/tests/dev-basic-cosmic-rocky new file mode 100755 index 0000000..9f444ae --- /dev/null +++ b/src/tests/dev-basic-cosmic-rocky @@ -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 cosmic-rocky.""" + +from basic_deployment import KeystoneLDAPCharmDeployment + +if __name__ == '__main__': + deployment = KeystoneLDAPCharmDeployment(series='cosmic') + deployment.run_tests()