Fix configtypes test coverage

This commit is contained in:
Daniel 2015-09-30 21:17:27 +02:00
parent bed90d1319
commit bc631d7d8b

View File

@ -1921,7 +1921,7 @@ class TestURLSegmentList:
klass(none_ok=False).validate('') klass(none_ok=False).validate('')
@pytest.mark.parametrize('val', [ @pytest.mark.parametrize('val', [
'foo', 'bar', 'foo,bar', 'host,path,foo', 'host,host' 'foo', 'bar', 'foo,bar', 'host,path,foo', 'host,host', 'host,',
]) ])
def test_validate_invalid(self, klass, val): def test_validate_invalid(self, klass, val):
with pytest.raises(configexc.ValidationError): with pytest.raises(configexc.ValidationError):