Phantom42 created this task.
Phantom42 added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

There are a lot of non-dry tests in Pywikibot Core. That means that those tests make requests and require internet connection for running. However, such tests can be converted to dry by using VCR. This task is about converting some wikibase tests to dry.

I made a list of test classes related to wikibase testing, which can be potentially converted to dry (i.e. those classes make requests and do not have dry equivalents).

wikibase_tests.py

  • TestLoadRevisionsCaching
  • TestDeprecatedAttributes
  • TestGeneral
  • TestWbGeoShapeNonDry
  • TestWbTabularDataNonDry
  • TestItemLoad
  • TestRedirects
  • TestPropertyPage
  • TestClaimSetValue
  • TestItemBasePageMethods
  • TestPageMethodsWithItemTitle
  • TestLinks
  • TestPreloadingItemGenerator
  • TestNamespaces
  • TestOwnClient

wikibase_edit_tests.py

  • TestWikibaseWriteGeneral
  • TestWikibaseMakeClaim
  • TestWikibaseRemoveQualifier

If you think that this list is incomplete, or some of this classes do not need to be converted to dry, feel free to edit!


TASK DETAIL
https://phabricator.wikimedia.org/T184081

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Phantom42
Cc: jayvdb, Aklapper, pywikibot-bugs-list, Phantom42, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to