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
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!