From 03eed631563f2c49717b15ee0a23947607c01673 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 18 Jul 2018 18:35:28 -0400 Subject: [PATCH] Update functional test definitions Change-Id: Ie39d48b0045f58446b0f5ca094f989f346bf1895 --- src/tests/dev-basic-bionic-rocky | 27 +++++++++++++++++++++++++++ src/tests/dev-basic-cosmic-rocky | 24 ++++++++++++++++++++++++ 2 files changed, 51 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..c347bf6 --- /dev/null +++ b/src/tests/dev-basic-bionic-rocky @@ -0,0 +1,27 @@ +#!/usr/bin/env python + +# Copyright 2016 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 aodh deployment on bionic-rocky.""" + +from basic_deployment import DesignateBasicDeployment + +if __name__ == '__main__': + deployment = DesignateBasicDeployment( + series='bionic', + openstack='cloud:bionic-rocky', + source='cloud:bionic-updates/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..a387f69 --- /dev/null +++ b/src/tests/dev-basic-cosmic-rocky @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +# Copyright 2016 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 aodh deployment on trusty-rocky.""" + +from basic_deployment import DesignateBasicDeployment + +if __name__ == '__main__': + deployment = DesignateBasicDeployment(series='cosmic') + deployment.run_tests()