Page MenuHomePhabricator

test_search_where fails due to differing results
Closed, DuplicatePublic

Description

With site en.wikipedia.org , on Python 2.7 and Python 3.3, probably caused by 39b37c4a9f (T127807)

======================================================================
FAIL: test_search_where (tests.site_tests.SearchTestCase)
Test the site.search() method with 'where' parameter.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py", line 1402, in test_search_where
    list(self.site.search('wiki', total=10, where='text')))
AssertionError: Lists differ: [Page('Comparison of wiki host... != [Page('Comparison of wiki host...

First differing element 6:
[[en:Wiki hosting service]]
[[en:Wiki Wiki]]

  [Page('Comparison of wiki hosting services'),
   Page('List of wiki software'),
   Page('MeatballWiki'),
   Page('The Hidden Wiki'),
   Page('Wiki'),
   Page('WikiWikiWeb'),
+  Page('Wiki Wiki'),
   Page('Wiki hosting service'),
   Page('Wiki markup'),
-  Page('Wiki software'),
?                       ^

+  Page('Wiki software')]
?                       ^

-  Page('Wikidata')]