mmengine/tests/data/config/py_config
Mashiro 5762b28847
[Refactor] Refactor logger hook unit tests (#797)
* Enhance config

* add unit test data

* reafactor unittest of loggerhook

* fix rebase error

* Fix permission error in windows

* Fix CI

* Fix windows ci

* Fix windows ci

* Fix windows ci

* Fix windows CI

* Apply suggestions from code review

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* clean the code

* Refine as comment

* Refine error rasing

* Update mmengine/hooks/logger_hook.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* replace assert_called_with with assert_has_calls

* Fix as comment

* Do not remove filehandler and fix unit test

---------

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-04-07 16:20:38 +08:00
..
base.py add config test (#10) 2022-02-17 17:46:06 +08:00
base1.py add config test (#10) 2022-02-17 17:46:06 +08:00
base4.py add config test (#10) 2022-02-17 17:46:06 +08:00
config.py add config test (#10) 2022-02-17 17:46:06 +08:00
simple.config.py add config test (#10) 2022-02-17 17:46:06 +08:00
simple_config.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_base_variables.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_base_variables_nested.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_code_in_config.py Fix test_auto_argparse when pytest has multiple arguments (#34) 2022-02-19 12:22:15 +08:00
test_custom_class.py [Refactor] Refactor logger hook unit tests (#797) 2023-04-07 16:20:38 +08:00
test_custom_import.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_custom_import_module.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_deprecated.py [Feature] Add Config (#24) 2022-02-17 22:33:21 +08:00
test_deprecated_base.py [Feature] Add Config (#24) 2022-02-17 22:33:21 +08:00
test_dump_pickle_support.py [Enhance] Update config with newest mmcv and show custom imports error explicitly (#192) 2022-05-06 22:59:54 +08:00
test_environment_var.py [Enhance] Substitute the environment variable in config file (#744) 2023-02-01 10:16:47 +08:00
test_get_external_cfg.py [Fix] some out-of-date unittests (#586) 2022-10-08 19:48:51 +08:00
test_get_external_cfg2.py [Fix] some out-of-date unittests (#586) 2022-10-08 19:48:51 +08:00
test_get_external_cfg3.py [Fix] some out-of-date unittests (#586) 2022-10-08 19:48:51 +08:00
test_get_external_cfg_base.py [Feature] add config new feature (#105) 2022-08-08 21:01:06 +08:00
test_merge_delete.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_from_base_error.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_from_base_single.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_from_dict.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_from_multiple_bases.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_from_multiple_error.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_intermediate_variable_base.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_intermediate_variable_child.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_merge_recursive_bases.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_pre_substitute_base_vars.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_predefined_var.py add config test (#10) 2022-02-17 17:46:06 +08:00
test_py_base.py [Enhance] Support using variables in base config directly as normal variables. (#329) 2022-07-14 13:05:55 +08:00
test_py_function_global_var.py [Fix] Support use 'global variable' in config function (#390) 2022-08-01 20:10:10 +08:00
test_py_modify_key.py [Fix] Fix config cannot change(assign) the value of the dict in config(without base config) (#378) 2022-08-08 17:07:47 +08:00
test_py_nested_path.py [Enhance] Support using variables in base config directly as normal variables. (#329) 2022-07-14 13:05:55 +08:00
test_reserved_key.py add config test (#10) 2022-02-17 17:46:06 +08:00