Test get_host_from_link with invalid argument

This commit is contained in:
Matheus Felipe committed 2022-01-12 01:30:08 -03:00
1 parent ef8c4f04e5
commit a707c4b89d
1 file changed
+3
+3
View File
@@ -65,3 +65,6 @@ class TestValidateLinks(unittest.TestCase):
self.assertNotIn('/', host)
self.assertNotIn('?', host)
self.assertNotIn('#', host)
with self.assertRaises(TypeError):
get_host_from_link()