Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken test suite after LxmlLinkExtractor promotion #763

Closed
dangra opened this issue Jun 25, 2014 · 0 comments · Fixed by #764
Closed

Broken test suite after LxmlLinkExtractor promotion #763

dangra opened this issue Jun 25, 2014 · 0 comments · Fixed by #764
Labels

Comments

@dangra
Copy link
Member

@dangra dangra commented Jun 25, 2014

$ trial scrapy.tests.test_crawl.CrawlTestCase
scrapy.tests.test_crawl
  CrawlTestCase
    test_delay ...                                                         [OK]
    test_engine_status ...                                                 [OK]
    test_follow_all ...                                                  [FAIL]
    test_referer_header ...                                                [OK]
    test_retry_503 ...                                                     [OK]
    test_retry_conn_aborted ...                                            [OK]
    test_retry_conn_failed ...                                             [OK]
    test_retry_conn_lost ...                                               [OK]
    test_retry_dns_error ...                                               [OK]
    test_start_requests_bug_before_yield ...                               [OK]
    test_start_requests_bug_yielding ...                                   [OK]
    test_start_requests_dupes ...                                          [OK]
    test_start_requests_lazyness ...                                       [OK]
    test_timeout_failure ...                                               [OK]
    test_timeout_success ...                                               [OK]
    test_unbounded_response ...                                            [OK]

===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/daniel/envs/scrapy/lib/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
    result = g.send(result)
  File "/home/daniel/src/scrapy/scrapy/tests/test_crawl.py", line 26, in test_follow_all
    self.assertEqual(len(spider.urls_visited), 11)  # 10 + start_url
  File "/home/daniel/envs/scrapy/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 356, in assertEqual
    % (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: not equal:
a = 31
b = 11


scrapy.tests.test_crawl.CrawlTestCase.test_follow_all
-------------------------------------------------------------------------------
Ran 16 tests in 90.150s

FAILED (failures=1, successes=15)

$ trial scrapy.tests.test_crawl.CrawlTestCase.test_follow_all
scrapy.tests.test_crawl
  CrawlTestCase
    test_follow_all ...                                                    [OK]

-------------------------------------------------------------------------------
Ran 1 tests in 0.874s

PASSED (successes=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant