def METHOD_NAME(self, tmpdir):
    empty_job_dir = tmpdir.mkdir("foo-job")
    with pytest.raises(VdkConfigurationError) as exc:
        JobConfig(pathlib.Path(empty_job_dir), should_fail_missing_config=True)
    assert "Error while loading config.ini file" in exc.value.args[0]