def test_specify_config_path(mocker, custom_config_path, custom_config) -> None:
    """Validate provided custom config path should be respected and parsed."""
    spy_get_config = mocker.spy(config, 'get_config')

    user_config = config.get_user_config(custom_config_path)
    spy_get_config.assert_called_once_with(custom_config_path)

    assert user_config == custom_config
Validate provided custom config path should be respected and parsed.
tests/test_get_user_config.py