This website works better with JavaScript.
Home
Explore
Help
Sign In
TechnikNews
/
PublicAPIs
mirror of
https://github.com/public-apis/public-apis
Watch
1
Star
2
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Test get_host_from_link with invalid argument
pull/3011/head
Matheus Felipe
2 years ago
parent
ef8c4f04e5
commit
a707c4b89d
No known key found for this signature in database
GPG Key ID:
AA785C523274872F
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
scripts/tests/test_validate_links.py
+ 3
- 0
scripts/tests/test_validate_links.py
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()
Write
Preview
Loading…
Cancel
Save