def __init__(self, *args, **kws): TestCase.__init__(self, *args, **kws) self.local_opts = { 'cachedir': TEMPLATES_DIR, 'file_client': 'local', 'file_ignore_regex': None, 'file_ignore_glob': None, 'file_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'pillar_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'fileserver_backend': ['roots'], 'hash_type': 'md5', 'extension_modules': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'extmods'), } self.local_salt = { # 'dns.A': dnsutil.A, # 'dns.AAAA': dnsutil.AAAA, # 'file.exists': filemod.file_exists, # 'file.basename': filemod.basename, # 'file.dirname': filemod.dirname }
def __init__(self, *args, **kws): TestCase.__init__(self, *args, **kws) self.opts = { 'cachedir': TEMPLATES_DIR, 'file_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'pillar_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] } }
def __init__(self, *args, **kws): TestCase.__init__(self, *args, **kws) self.local_opts = { 'cachedir': TEMPLATES_DIR, 'file_client': 'local', 'file_roots': { 'other': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'fileserver_backend': ['roots'], 'extension_modules': os.path.join( os.path.dirname(os.path.abspath(__file__)), 'extmods'), }
def __init__(self, *args, **kws): TestCase.__init__(self, *args, **kws) self.local_opts = { 'cachedir': TEMPLATES_DIR, 'file_client': 'local', 'file_ignore_regex': None, 'file_ignore_glob': None, 'file_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'pillar_roots': { 'test': [os.path.join(TEMPLATES_DIR, 'files', 'test')] }, 'fileserver_backend': ['roots'], 'hash_type': 'md5', 'extension_modules': os.path.join( os.path.dirname(os.path.abspath(__file__)), 'extmods'), }