1
0
Fork 0

fix test flip

This commit is contained in:
Mateusz Konieczny 2025-01-20 10:22:08 +01:00
parent b2619093b9
commit 1672b5a102

View file

@ -12,7 +12,7 @@ class LinkCheckingTests(unittest.TestCase):
def test_link_rejector_rejecting_google(self):
# https://github.com/alltheplaces/alltheplaces/issues/9433
test = url_checker.URLChecker()
self.assertEqual(test.drop_this_link('https://www.google.com/maps/place/Indus%2BFila%2BPvt%2BLtd/@12.1521811,76.6973395,21z/data=!4m10!1m2!2m1!1sIndus%2BFila%2B,%2BKIADB%2BThandya,%2BMysore%2BDistrict!3m6!1s0x3baf69af6aaaaaab:0x831203d178d580ea!8m2!3d12.1520715!4d76.6975739!15sCitJbmR1cyBGaWxhICwgS0lBREIgVGhhbmR5YSwgTXlzb3JlIERpc3RyaWN0IgOIAQGSAQxtYW51ZmFjdHVyZXLgAQA!16s%252Fg%252F11kj8__wp4?entry=ttu'), False)
self.assertEqual(test.drop_this_link('https://www.google.com/maps/place/Indus%2BFila%2BPvt%2BLtd/@12.1521811,76.6973395,21z/data=!4m10!1m2!2m1!1sIndus%2BFila%2B,%2BKIADB%2BThandya,%2BMysore%2BDistrict!3m6!1s0x3baf69af6aaaaaab:0x831203d178d580ea!8m2!3d12.1520715!4d76.6975739!15sCitJbmR1cyBGaWxhICwgS0lBREIgVGhhbmR5YSwgTXlzb3JlIERpc3RyaWN0IgOIAQGSAQxtYW51ZmFjdHVyZXLgAQA!16s%252Fg%252F11kj8__wp4?entry=ttu'), True)
def test_link_rejector_not_being_too_hungry(self):
test = url_checker.URLChecker()