Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fix BaseHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
tunstek committed Nov 6, 2019
1 parent ee2b831 commit a40eef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fetcher_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def status_ok(self, status, type):
return status.get('track', {}).get(type, {}).get('ok', False)

def test_10_not_status(self):
status, newtasks, result = self.crawl(callback=self.not_send_status)
status, newtasks, result = self.crawl(callback=self.not_send_status.__name__)

self.assertIsNone(status)
self.assertEqual(len(newtasks), 1, newtasks)
Expand Down

0 comments on commit a40eef5

Please sign in to comment.