summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test/conftest.py
blob: 244a1f0fa7c88c8f1438cfa2bd27727ddfe3958d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import os
import sys

# extend sys.path so that tests can import openshift_checks and action plugins
# from this role.
openshift_health_checker_path = os.path.dirname(os.path.dirname(__file__))
sys.path[1:1] = [
    openshift_health_checker_path,
    os.path.join(openshift_health_checker_path, 'action_plugins'),
    os.path.join(openshift_health_checker_path, 'callback_plugins'),
    os.path.join(openshift_health_checker_path, 'library'),
]