add an invalid authority for a bit more coverage
This commit is contained in:
parent
a515a87db5
commit
1605a1590a
|
@ -885,6 +885,9 @@ class TestURL(HyperlinkTestCase):
|
|||
def test_invalid_url(self):
|
||||
self.assertRaises(URLParseError, URL.from_text, '#\n\n')
|
||||
|
||||
def test_invalid_authority_url(self):
|
||||
self.assertRaises(URLParseError, URL.from_text, 'http://abc:\n\n/#')
|
||||
|
||||
def test_invalid_ipv6(self):
|
||||
invalid_ipv6_ips = ['2001::0234:C1ab::A0:aabc:003F',
|
||||
'2001::1::3F',
|
||||
|
|
Loading…
Reference in New Issue