/usr/lib/python3/dist-packages/pytestsalt/salt/loader.py is in python3-pytestsalt 2018.1.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`
:copyright: Copyright 2016 by the SaltStack Team, see AUTHORS for more details.
:license: Apache 2.0, see LICENSE for more details.
pytestsalt.salt.loader
~~~~~~~~~~~~~~~~~~~~~~
Salt loader support
'''
# Import python libs
import os
THIS_MODULE_DIR = os.path.abspath(os.path.dirname(__file__))
def engines_dirs():
yield os.path.join(THIS_MODULE_DIR, 'engines')
def log_handlers_dirs():
yield os.path.join(THIS_MODULE_DIR, 'log_handlers')
|