def test_config_update() -> None: config = Config() config.update(config.dump()) assert config == Config()
def print_config(config: Config, sort: bool = True, indent: int = 2): print(json_dumps(config.dump(), sort_keys=sort, indent=indent))