9fcd2ad11d
This is a first commit os new murano testing framework. This commit adds base io.murano.test.testFixture class. All test classes are suppossed to be inherited from that class. Test runner accepts only such kind of classes. Also test cases should start with the 'test' prefix. setUp method executes before each test case and tearDown - after. To run tests, authorization params should be provided or murano config file. Test runner params have a higher priority than the corresponding params in config. Package to test is a required parameter. It's also allowed to specify class to execute tests in or to specify test case name. New murano-test-runner was added. To run all tests from package, execute the following command: murano-test-runner -p io.murano.test.MyTest1 -l /package/location/directory Targets blueprint simulated-execution-mode-murano-engine Change-Id: I6b9a94ab1a3942fec3ebb84a69dd548c134139df
76 lines
1.9 KiB
INI
76 lines
1.9 KiB
INI
# Copyright (c) 2013 Mirantis, Inc.
|
|
#
|
|
# 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.
|
|
|
|
|
|
[metadata]
|
|
name = murano
|
|
version = 1.0.0
|
|
summary = Murano API
|
|
description-file =
|
|
README.rst
|
|
license = Apache License, Version 2.0
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = https://launchpad.net/murano
|
|
classifier =
|
|
Development Status :: 5 - Production/Stable
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python
|
|
|
|
[files]
|
|
packages =
|
|
murano
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
murano-api = murano.cmd.api:main
|
|
murano-engine = murano.cmd.engine:main
|
|
murano-manage = murano.cmd.manage:main
|
|
murano-db-manage = murano.cmd.db_manage:main
|
|
murano-test-runner = murano.cmd.test_runner:main
|
|
oslo.config.opts =
|
|
murano = murano.opts:list_opts
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|
|
|
|
[compile_catalog]
|
|
directory = murano/locale
|
|
domain = murano
|
|
|
|
[update_catalog]
|
|
domain = murano
|
|
output_dir = murano/locale
|
|
input_file = murano/locale/murano.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = murano/locale/murano.pot
|