Enable bionic/stein and disco/stein functional tests

Change-Id: I954e0653f3f8d0c59ae87ef6efebee8409389923
This commit is contained in:
Frode Nordahl 2019-04-08 13:51:17 +02:00
parent 8ff6c5f2d2
commit a5c2407c63
2 changed files with 47 additions and 0 deletions

23
src/tests/dev-basic-disco-stein Executable file
View File

@ -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 Gnocchi Charm deployment on disco-stein."""
from basic_deployment import GnocchiCharmDeployment
if __name__ == '__main__':
deployment = GnocchiCharmDeployment(series='disco')
deployment.run_tests()

View File

@ -0,0 +1,24 @@
#!/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 Gnocchi Charm deployment on bionic-stein."""
from basic_deployment import GnocchiCharmDeployment
if __name__ == '__main__':
deployment = GnocchiCharmDeployment(series='bionic',
openstack='cloud:bionic-stein')
deployment.run_tests()