Codebase list python-castellan / 4069a1b
Merge "Cookiecutter commit for Security Tempest plugin" Jenkins authored 7 years ago Gerrit Code Review committed 7 years ago
8 changed file(s) with 43 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2626 oslo.config.opts =
2727 castellan.tests.functional.config = castellan.tests.functional.config:list_opts
2828 castellan.config = castellan.options:list_opts
29 tempest.test_plugins =
30 security_plugin = tempest_plugin.plugin:SecurityTempestPlugin
2931
3032 [build_sphinx]
3133 source-dir = doc/source
0 ===============================================
1 Tempest Integration of Security Functionality
2 ===============================================
3
4 This directory contains Tempest tests to cover the security features in
5 Glance, Cinder, and Nova.
6
(New empty file)
0 # Copyright 2016 Johns Hopkins University Applied Physics Lab
1 # All Rights Reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
13 # under the License.
14
15
16 import os
17
18 from tempest.test_discover import plugins
19
20
21 class SecurityTempestPlugin(plugins.TempestPlugin):
22 def load_tests(self):
23 base_path = os.path.split(os.path.dirname(
24 os.path.abspath(__file__)))[0]
25 test_dir = "tempest_plugin/tests"
26 full_test_dir = os.path.join(base_path, test_dir)
27 return full_test_dir, base_path
28
29 def register_opts(self, conf):
30 pass
31
32 def get_opt_lists(self):
33 pass