diff --git a/tests/__pycache__/test_load.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_load.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 198000e..0000000 Binary files a/tests/__pycache__/test_load.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/test_load.py b/tests/test_load.py index 56434d3..77ca507 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -58,11 +58,9 @@ def _test_structural_files(test_dir, namespace, ext, *, level, need_exclude=Fals return with filename.open() as file_content: arguments = load(file_content) - print('arguments', arguments, type(arguments)) ################################## # loads variables in the tiramisu config generated_user_data = RougailUserData(config, rougailconfig=rougailconfig, arguments=arguments, prog="test_load").run() - print(generated_user_data) errors = rougail.user_datas(generated_user_data) #expected output expected_filename = Path('tests') / 'results' / dir_name / test_dir.name / 'makedict' / f'{level}.json' @@ -94,16 +92,10 @@ def populate(filename, makedict_file, rougailconfig, level, need_exclude, namesp return config = Rougail(rougailconfig).run() values = get_values_for_config(config, not need_exclude, level, follower_with_index=True) - print(filename) if not filename.is_file(): filename.parent.mkdir(parents=True, exist_ok=True) ############################################## v = values_to_commandline(values) - print('========================') - print('========================') - print('========================') - print(v) - print('========================') ############################################## with filename.open('w') as fh: ############################################## @@ -124,7 +116,6 @@ class SubMulti(Exception): ############################################## def values_to_commandline(values): - print(values) def parse(root_path, values_, level=-1): level += 1 for key, value in values_.items(): @@ -135,7 +126,6 @@ def values_to_commandline(values): if isinstance(value, dict): yield from parse(sub_root_path, value, level) elif isinstance(value, list): - print("+++++++++++++++++++++", sub_root_path, value) if value and isinstance(value[0], dict): keys = [] for ls in value: