Fix configtypes test coverage
This commit is contained in:
parent
bed90d1319
commit
bc631d7d8b
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user