From f00b3c2153777e68d020c5a73a97b114e46eae99 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 18 Jul 2018 18:35:06 -0400 Subject: [PATCH] Update functional test definitions Change-Id: Id7f93b098a856bde65c7af4b9043a8a6228fdb08 --- tests/dev-basic-bionic-rocky | 25 +++++++++++++++++++++++++ tests/dev-basic-cosmic-rocky | 23 +++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100755 tests/dev-basic-bionic-rocky create mode 100755 tests/dev-basic-cosmic-rocky diff --git a/tests/dev-basic-bionic-rocky b/tests/dev-basic-bionic-rocky new file mode 100755 index 00000000..345a983b --- /dev/null +++ b/tests/dev-basic-bionic-rocky @@ -0,0 +1,25 @@ +#!/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 cinder deployment on bionic-rocky.""" + +from basic_deployment import CinderBasicDeployment + +if __name__ == '__main__': + deployment = CinderBasicDeployment(series='bionic', + openstack='cloud:bionic-rocky', + source='cloud:bionic-updates/rocky') + deployment.run_tests() diff --git a/tests/dev-basic-cosmic-rocky b/tests/dev-basic-cosmic-rocky new file mode 100755 index 00000000..cab845f8 --- /dev/null +++ b/tests/dev-basic-cosmic-rocky @@ -0,0 +1,23 @@ +#!/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 Cinder deployment on cosmic-rocky.""" + +from basic_deployment import CinderBasicDeployment + +if __name__ == '__main__': + deployment = CinderBasicDeployment(series='cosmic') + deployment.run_tests()