Removed dummy intree panko tempest plugin
* Intree panko tempest plugin does not contains any tempest tests and has just dummy tempest plugin skeletion, so it is better to remove from the project. If in future new panko tempest tests will be written, will go to a new repo where all the telemetry tests will resides. Change-Id: I4f56bdac3ddd7b55ae791c9e6aafb78bc5f6e14b
This commit is contained in:
parent
48b3c63cb5
commit
e8b1378c0f
@ -1,33 +0,0 @@
|
|||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
from oslo_config import cfg
|
|
||||||
|
|
||||||
service_option = cfg.BoolOpt('panko',
|
|
||||||
default=True,
|
|
||||||
help="Whether or not Panko is expected to be"
|
|
||||||
"available")
|
|
||||||
|
|
||||||
event_group = cfg.OptGroup(name='event',
|
|
||||||
title='Event Service Options')
|
|
||||||
|
|
||||||
event_opts = [
|
|
||||||
cfg.StrOpt('catalog_type',
|
|
||||||
default='event',
|
|
||||||
help="Catalog type of the Event service."),
|
|
||||||
cfg.StrOpt('endpoint_type',
|
|
||||||
default='publicURL',
|
|
||||||
choices=['public', 'admin', 'internal',
|
|
||||||
'publicURL', 'adminURL', 'internalURL'],
|
|
||||||
help="The endpoint type to use for the event service."),
|
|
||||||
]
|
|
@ -1,39 +0,0 @@
|
|||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from tempest.test_discover import plugins
|
|
||||||
|
|
||||||
import panko
|
|
||||||
from panko.tests.tempest import config as tempest_config
|
|
||||||
|
|
||||||
|
|
||||||
class PankoTempestPlugin(plugins.TempestPlugin):
|
|
||||||
def load_tests(self):
|
|
||||||
base_path = os.path.split(os.path.dirname(
|
|
||||||
os.path.abspath(panko.__file__)))[0]
|
|
||||||
test_dir = "panko/tests/tempest"
|
|
||||||
full_test_dir = os.path.join(base_path, test_dir)
|
|
||||||
return full_test_dir, base_path
|
|
||||||
|
|
||||||
def register_opts(self, conf):
|
|
||||||
conf.register_opt(tempest_config.service_option,
|
|
||||||
group='service_available')
|
|
||||||
conf.register_group(tempest_config.event_group)
|
|
||||||
conf.register_opts(tempest_config.event_opts, group='event')
|
|
||||||
|
|
||||||
def get_opt_lists(self):
|
|
||||||
return [(tempest_config.event_group.name,
|
|
||||||
tempest_config.event_opts),
|
|
||||||
('service_available', [tempest_config.service_option])]
|
|
@ -56,9 +56,6 @@ oslo.policy.policies =
|
|||||||
oslo.config.opts.defaults =
|
oslo.config.opts.defaults =
|
||||||
panko = panko.conf.defaults:set_cors_middleware_defaults
|
panko = panko.conf.defaults:set_cors_middleware_defaults
|
||||||
|
|
||||||
tempest.test_plugins =
|
|
||||||
panko_tests = panko.tests.tempest.plugin:PankoTempestPlugin
|
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
all_files = 1
|
all_files = 1
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
|
@ -19,7 +19,6 @@ sphinxcontrib-httpdomain # BSD
|
|||||||
sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
|
sphinxcontrib-pecanwsme>=0.8 # Apache-2.0
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testtools>=1.4.0 # MIT
|
testtools>=1.4.0 # MIT
|
||||||
tempest>=11.0.0 # Apache-2.0
|
|
||||||
gabbi>=1.11.0 # Apache-2.0
|
gabbi>=1.11.0 # Apache-2.0
|
||||||
os-testr>=0.4.1 # Apache-2.0
|
os-testr>=0.4.1 # Apache-2.0
|
||||||
WebTest>=2.0 # MIT
|
WebTest>=2.0 # MIT
|
||||||
|
Loading…
Reference in New Issue
Block a user