configtypes: Add invalid URL for TestUrlList.
This commit is contained in:
parent
71188bb67b
commit
8f48247b8f
@ -1580,6 +1580,7 @@ class TestUrlList:
|
||||
@pytest.mark.parametrize('val', [
|
||||
'',
|
||||
'foo,,bar',
|
||||
'+', # invalid URL with QUrl.fromUserInput
|
||||
])
|
||||
def test_validate_invalid(self, klass, val):
|
||||
with pytest.raises(configexc.ValidationError):
|
||||
|
Loading…
Reference in New Issue
Block a user