conftest.py 315 B

12345678910
  1. import os
  2. import sys
  3. # extend sys.path so that tests can import openshift_checks and action plugins
  4. # from this role.
  5. openshift_health_checker_path = os.path.dirname(os.path.dirname(__file__))
  6. sys.path[1:1] = [
  7. openshift_health_checker_path,
  8. os.path.join(openshift_health_checker_path, 'action_plugins')
  9. ]