def test_get_user_config_invalid(user_config_path) -> None:
    """Validate `InvalidConfiguration` raised when provided user config malformed."""
    shutil.copy('tests/test-config/invalid-config.yaml', user_config_path)
    with pytest.raises(InvalidConfiguration):
        config.get_user_config()
Validate `InvalidConfiguration` raised when provided user config malformed.
tests/test_get_user_config.py