From 1e8374351a9738402a434541f24f5ee1e48970a5 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 18 Jul 2018 18:38:21 -0400 Subject: [PATCH] Update functional test definitions Change-Id: Ib04a486a59b249de03d0c0843d1f722b98e6d610 --- 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 0000000..337f5b3 --- /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 swift-storage deployment on bionic-rocky.""" + +from basic_deployment import SwiftStorageBasicDeployment + +if __name__ == '__main__': + deployment = SwiftStorageBasicDeployment(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 0000000..5d6d3af --- /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 swift-storage deployment on cosmic-rocky.""" + +from basic_deployment import SwiftStorageBasicDeployment + +if __name__ == '__main__': + deployment = SwiftStorageBasicDeployment(series='cosmic') + deployment.run_tests()