suppression du filtre

This commit is contained in:
gwen 2024-09-30 17:48:18 +02:00
parent a66db76ef8
commit e671b76bba

View file

@ -24,9 +24,8 @@ envtest = _here / 'tests' / 'envvars'
test_ok = set() test_ok = set()
test_raise = set() test_raise = set()
for test in listdir(dico_dirs): for test in listdir(dico_dirs):
if isdir(join(envtest, test)): test_ok.add(test)
test_ok.add(test) if test != '__pycache__':
elif test != '__pycache__':
test_raise.add(test) test_raise.add(test)
#test_ok = [dico_dirs / env_test_folder] #test_ok = [dico_dirs / env_test_folder]
@ -43,7 +42,7 @@ def _test_dictionaries(test_dir):
rougailconfig = RougailConfig.copy() rougailconfig = RougailConfig.copy()
rougailconfig['step.user_data'] = ['environment'] rougailconfig['step.user_data'] = ['environment']
rougailconfig['main_namespace'] = None rougailconfig['main_namespace'] = None
dirs = [str(test_dir / 'dictionaries' / 'rougail')] dirs = [str(test_dir + '/dictionaries/rougail')]
rougailconfig['custom_types']['custom'] = CustomOption rougailconfig['custom_types']['custom'] = CustomOption
rougailconfig['main_dictionaries'] = dirs rougailconfig['main_dictionaries'] = dirs
return rougailconfig return rougailconfig