def test_get_user_config_valid(user_config_path, custom_config) -> None:
    """Validate user config correctly parsed if exist and correctly formatted."""
    shutil.copy('tests/test-config/valid-config.yaml', user_config_path)
    conf = config.get_user_config()

    assert conf == custom_config
Validate user config correctly parsed if exist and correctly formatted.
tests/test_get_user_config.py