'Test validate with empty string and none_ok = False.'

@pytest.mark.parametrize('val', ['', '\xc3\xbcberbrowser'])
def test_validate_invalid(self, klass, val):

    with pytest.raises(configexc.ValidationError):
        klass().validate(val)
