Enable functional tests for train
This patch also updates the smoke test to run train. Depends-On: https://review.opendev.org/#/c/681927/ Change-Id: I1b6fb659ae3c655609bdbc360a2bf09f30577d0b
This commit is contained in:
parent
5d9592ddca
commit
dda4bddce2
|
@ -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()
|
2
tox.ini
2
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
|
||||
|
|
Loading…
Reference in New Issue