add config test (#10)
* add config test * Fix typo Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update tests/config/test_config.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Reconstruct config test * Fix import logic and error test * Fix path error * Restructuring Config * simplify test logic simplify test logic * rename test_config file * add test complex dump and pretty text * adjust test sequence according to comment adjust test sequence according to comment * add comment and test for simple.config.py * add config test data * add init * remove __pycache__ * fix as comment * add syntax test case * remove tmp path and modify comment * add test for setattr Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Showing
- tests/data/config/py_config/test_dump_pickle_support.py 17 additions, 0 deletionstests/data/config/py_config/test_dump_pickle_support.py
- tests/data/config/py_config/test_merge_delete.py 4 additions, 0 deletionstests/data/config/py_config/test_merge_delete.py
- tests/data/config/py_config/test_merge_from_base_error.py 3 additions, 0 deletionstests/data/config/py_config/test_merge_from_base_error.py
- tests/data/config/py_config/test_merge_from_base_single.py 6 additions, 0 deletionstests/data/config/py_config/test_merge_from_base_single.py
- tests/data/config/py_config/test_merge_from_dict.py 2 additions, 0 deletionstests/data/config/py_config/test_merge_from_dict.py
- tests/data/config/py_config/test_merge_from_multiple_bases.py 9 additions, 0 deletions...s/data/config/py_config/test_merge_from_multiple_bases.py
- tests/data/config/py_config/test_merge_from_multiple_error.py 7 additions, 0 deletions...s/data/config/py_config/test_merge_from_multiple_error.py
- tests/data/config/py_config/test_merge_intermediate_variable_base.py 8 additions, 0 deletions...config/py_config/test_merge_intermediate_variable_base.py
- tests/data/config/py_config/test_merge_intermediate_variable_child.py 4 additions, 0 deletions...onfig/py_config/test_merge_intermediate_variable_child.py
- tests/data/config/py_config/test_merge_recursive_bases.py 3 additions, 0 deletionstests/data/config/py_config/test_merge_recursive_bases.py
- tests/data/config/py_config/test_pre_substitute_base_vars.py 11 additions, 0 deletionstests/data/config/py_config/test_pre_substitute_base_vars.py
- tests/data/config/py_config/test_predefined_var.py 4 additions, 0 deletionstests/data/config/py_config/test_predefined_var.py
- tests/data/config/py_config/test_reserved_key.py 2 additions, 0 deletionstests/data/config/py_config/test_reserved_key.py
- tests/data/config/yaml_config/base2.yaml 1 addition, 0 deletionstests/data/config/yaml_config/base2.yaml
- tests/data/config/yaml_config/simple.config.yaml 4 additions, 0 deletionstests/data/config/yaml_config/simple.config.yaml
- tests/data/config/yaml_config/simple_config.yaml 4 additions, 0 deletionstests/data/config/yaml_config/simple_config.yaml
- tests/data/config/yaml_config/test_base.yaml 6 additions, 0 deletionstests/data/config/yaml_config/test_base.yaml
- tests/data/config/yaml_config/test_base_variables_nested.yaml 15 additions, 0 deletions...s/data/config/yaml_config/test_base_variables_nested.yaml
- tests/data/config/yaml_config/test_predefined_var.yaml 1 addition, 0 deletionstests/data/config/yaml_config/test_predefined_var.yaml
- tests/data/config/yaml_config/test_reserved_key.yaml 1 addition, 0 deletionstests/data/config/yaml_config/test_reserved_key.yaml
Loading
Please register or sign in to comment