DjangoAdminHackers / django-linkcheck

An app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc).
BSD 3-Clause "New" or "Revised" License
75 stars 26 forks source link

Adapt tests to new urllib exception #192

Closed timobrembeck closed 1 year ago

timobrembeck commented 1 year ago

Apparently, urllib throws a different exception for name resolution errors now, so the tests break on the current master branch.

Unfortunately, I did not find a test server that would cause a NewConnectionError now, so we loose a little bit of test coverage with this PR.