Skip to content

Commit

Permalink
uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Dec 12, 2023
1 parent 8e54676 commit b0a8b5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/spider_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ def test_focused_crawler():
"Test the whole focused crawler mechanism."
spider.URL_STORE = UrlStore()
todo, known_links = spider.focused_crawler("https://httpbun.com/links/1/1", max_seen_urls=1)
## TODO: check this on Github actions:
# assert sorted(known_links) == ['https://httpbun.com/links/1/0', 'https://httpbun.com/links/1/1']
# assert sorted(todo) == ['https://httpbun.com/links/1/0']
assert sorted(known_links) == ['https://httpbun.com/links/1/0', 'https://httpbun.com/links/1/1']
assert sorted(todo) == ['https://httpbun.com/links/1/0']


if __name__ == '__main__':
Expand Down

0 comments on commit b0a8b5c

Please sign in to comment.