'Test validate with a directory which does not exist.'

def test_validate_does_not_exist(self, klass, os_mock):

    os_mock.path.isdir.return_value = False
    with pytest.raises(configexc.ValidationError):
        klass().validate('foobar')
