diff --git a/tests/gate-basic-bionic-train b/tests/gate-basic-bionic-train new file mode 100755 index 00000000..44a4b289 --- /dev/null +++ b/tests/gate-basic-bionic-train @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# +# Copyright 2019 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 openstack-dashboard deployment on bionic-train.""" + +from basic_deployment import OpenstackDashboardBasicDeployment + +if __name__ == '__main__': + deployment = OpenstackDashboardBasicDeployment( + series='bionic', + openstack='cloud:bionic-train', + source='cloud:bionic-updates/train') + deployment.run_tests() diff --git a/tox.ini b/tox.ini index ce4546b4..b6254346 100644 --- a/tox.ini +++ b/tox.ini @@ -105,7 +105,7 @@ basepython = python2.7 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-stein --no-destroy + bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-train --no-destroy [testenv:func-dev] # Charm Functional Test