def test_get_config_does_not_exist() -> None:
    """Check that `exceptions.ConfigDoesNotExistException` is raised when \
    attempting to get a non-existent config file."""
    expected_error_msg = 'Config file tests/not-exist.yaml does not exist.'
    with pytest.raises(ConfigDoesNotExistException) as exc_info:
        config.get_config('tests/not-exist.yaml')
    assert str(exc_info.value) == expected_error_msg
Check that `exceptions.ConfigDoesNotExistException` is raised when     attempting to get a non-existent config file.
tests/test_get_config.py