summaryrefslogtreecommitdiff
path: root/watcher_tempest_plugin/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'watcher_tempest_plugin/plugin.py')
-rw-r--r--watcher_tempest_plugin/plugin.py34
1 files changed, 0 insertions, 34 deletions
diff --git a/watcher_tempest_plugin/plugin.py b/watcher_tempest_plugin/plugin.py
deleted file mode 100644
index 560c544..0000000
--- a/watcher_tempest_plugin/plugin.py
+++ /dev/null
@@ -1,34 +0,0 @@
1# Licensed under the Apache License, Version 2.0 (the "License"); you may
2# not use this file except in compliance with the License. You may obtain
3# a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10# License for the specific language governing permissions and limitations
11# under the License.
12
13
14import os
15
16from tempest.test_discover import plugins
17
18from watcher_tempest_plugin import config as watcher_config
19
20
21class WatcherTempestPlugin(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 = "watcher_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 conf.register_opt(watcher_config.service_option,
31 group='service_available')
32
33 def get_opt_lists(self):
34 return [('service_available', [watcher_config.service_option])]