diff --git a/tests/test_notebooks.py b/tests/test_notebooks.py index 196a594..aa015f2 100755 --- a/tests/test_notebooks.py +++ b/tests/test_notebooks.py @@ -168,7 +168,7 @@ def static_analysis(self, path): request = Request(document_link[2], headers=headers) urlopen(request) except URLError: - broken_links.append(url) + broken_links.append(document_link[2]) if broken_links: cells_and_broken_links.append((broken_links, c.source)) if cells_and_broken_links: