Unverified Commit a707c4b8 authored by Matheus Felipe's avatar Matheus Felipe
Browse files

Test get_host_from_link with invalid argument

parent ef8c4f04
......@@ -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()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment