Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed Oct 14, 2016
1 parent e3c9d41 commit 3040891
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/crawler/http_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
to create the missing entries
"""

import html
import time
import json
import logging
Expand Down Expand Up @@ -130,7 +129,6 @@ def callback(self, response):
{'last_error': str(self.parsed_feed.get('bozo_exception')),
'error_count': self.feed['error_count'] + 1})


up_feed = construct_feed_from(url=self.feed['link'],
fp_parsed=self.parsed_feed,
feed=self.feed)
Expand Down
2 changes: 1 addition & 1 deletion src/tests/crawler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CrawlerTest(JarrFlaskCommon):

def setUp(self):
super().setUp()
self.wait_params = {'wait_for': 5, 'max_wait': 30, 'checks': 2}
self.wait_params = {'wait_for': 2, 'max_wait': 30, 'checks': 1}
UserController().update({'login': 'admin'}, {'is_api': True})
self._is_secure_served \
= patch('web.lib.article_cleaner.is_secure_served')
Expand Down

0 comments on commit 3040891

Please sign in to comment.