https://bugzilla.wikimedia.org/show_bug.cgi?id=60214

       Web browser: ---
            Bug ID: 60214
           Summary: testImageusage in site_tests fails
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: mpaa.w...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Line 549 in site_tests.py fails:
    for using in mysite.imageusage(imagepage, namespaces=[3, 4], total=5):
            self.assertType(using, pywikibot.Page)
            self.assertTrue(imagepage in list(using.imagelinks()))  --> fails

imagepage on main page (current 'Main Page' on ew:WP) is different from images
in list(using.imagelinks()), in cached data in
c:\\users\\...\\AppData\\Roaming\\pywikibot\\apicache\\ff322b...

Cached data is used due to monkey patching in tests/__init__.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to