![]() |
ATLAS Offline Software
|
Functions | |
| _load_yaml (pathlib.Path p) | |
| _assert (cond, msg) | |
| _run_merge (dict top_cfg, pathlib.Path base_dir) | |
| case_earlier_wins (pathlib.Path base_dir) | |
| case_earlier_wins_between_fragments (pathlib.Path base_dir) | |
| case_list_concat (pathlib.Path base_dir) | |
| case_single_string_include (pathlib.Path base_dir) | |
| run_case (str name, pathlib.Path base_dir) | |
| main () | |
Merge tests for multi-include semantics (no pytest), using neutral keys foo/bar. Usage: python ConfigText_merge_unitTest.py --dir AnalysisAlgorithmsConfig python ConfigText_merge_unitTest.py --case all --dir path/to/yamls
|
protected |
Definition at line 26 of file ConfigText_merge_unitTest.py.
|
protected |
Definition at line 22 of file ConfigText_merge_unitTest.py.
|
protected |
Definition at line 30 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.case_earlier_wins | ( | pathlib.Path | base_dir | ) |
Nested include: earlier wins inside test_merge_mid, local overrides afterward.
Definition at line 38 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.case_earlier_wins_between_fragments | ( | pathlib.Path | base_dir | ) |
Direct include [frag_a, frag_b]: earlier (a) wins on scalar conflicts; lists concat.
Definition at line 63 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.case_list_concat | ( | pathlib.Path | base_dir | ) |
Lists concatenate without deduplication.
Definition at line 86 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.case_single_string_include | ( | pathlib.Path | base_dir | ) |
Single-string include path is supported, but should warn for deprecation.
Definition at line 93 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.main | ( | ) |
Definition at line 143 of file ConfigText_merge_unitTest.py.
| python.ConfigText_merge_unitTest.run_case | ( | str | name, |
| pathlib.Path | base_dir ) |
Definition at line 119 of file ConfigText_merge_unitTest.py.