diff --git a/scripts/tests/test_validate_links.py b/scripts/tests/test_validate_links.py index c5a3fd4b..a559f712 100644 --- a/scripts/tests/test_validate_links.py +++ b/scripts/tests/test_validate_links.py @@ -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()