Capture default-select-release

This commit is contained in:
James Page 2017-08-02 11:04:38 +01:00
parent a1075350ea
commit 999ff47982
2 changed files with 3 additions and 27 deletions

View File

@ -1,25 +0,0 @@
#!/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 trusty-mitaka."""
from basic_deployment import GnocchiCharmDeployment
if __name__ == '__main__':
deployment = GnocchiCharmDeployment(series='trusty',
openstack='cloud:trusty-mitaka',
source='cloud:trusty-updates/mitaka')
deployment.run_tests()

View File

@ -29,9 +29,10 @@ class TestRegisteredHooks(test_utils.TestRegisteredHooks):
'charm.installed',
'shared-db.connected',
'identity-service.connected',
'identity-service.available', # enables SSL support
'identity-service.available',
'config.changed',
'update-status']
'update-status',
'charm.default-select-release']
hook_set = {
'when': {
'render_config': (