Debian Codegraph @

ansible_collections/theforeman/foreman/tests/utils.py

raw symbols SCIP
1 import py.path
2
3
4 MODULES_PATH = py.path.local(__file__).realpath() / '..' / '..' / 'plugins' / 'modules'
5
6
7 def find_all_modules():
8 for module in MODULES_PATH.listdir(sort=True):
9 module = module.basename
10 if module.endswith('.py') and not module.startswith('_'):
11 yield module.replace('.py', '')
12
13
14 ALL_MODULES = list(find_all_modules())