For primary charm code and unit tests use lp:~openstack-charmers/charm-helpers/stable But for amulet tests use lp:charm-helpers This protects the pep8 and unit tests runs but also gives the amulet runs all of the changes from master. Pull in testing updates. Also pick mock update in unit test. Change-Id: I9a4245e764e268327466bc0fbe8b5383303ad07f
27 lines
992 B
Python
Executable File
27 lines
992 B
Python
Executable File
#!/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 nova cloud controller deployment on
|
|
xenial-ocata."""
|
|
|
|
from basic_deployment import NovaCCBasicDeployment
|
|
|
|
if __name__ == '__main__':
|
|
deployment = NovaCCBasicDeployment(series='xenial',
|
|
openstack='cloud:xenial-ocata',
|
|
source='cloud:xenial-updates/ocata')
|
|
deployment.run_tests()
|