From 1cc162e5e5c93b8e230a9586872c37a703bba9a7 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 18 Jul 2018 18:35:42 -0400 Subject: [PATCH] Update functional test definitions Change-Id: Iecd4ad01561a5c39e1811a42deedf5b9ab474f5c --- 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..6a121557 --- /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 glance deployment on bionic-rocky.""" + +from basic_deployment import GlanceBasicDeployment + +if __name__ == '__main__': + deployment = GlanceBasicDeployment(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..b9910b2d --- /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 Glance deployment on cosmic-rocky.""" + +from basic_deployment import GlanceBasicDeployment + +if __name__ == '__main__': + deployment = GlanceBasicDeployment(series='cosmic') + deployment.run_tests()