tests.reflinks_tests module#
Tests for reflinks script.
- class tests.reflinks_tests.TestReferencesBotConstructor(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,ScriptMainTestCase
Test reflinks with run() removed.
These tests can’t verify the order of the pages in the XML as the constructor is given a preloading generator. See APISite.preloadpages for details.
- abstract_class = False#
- code = 'en'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:en': {'code': 'en', 'family': 'wikipedia'}}#
- test_xml_multiple_namespace_ids()[source]#
Test the generator using multiple separate namespaces parameters.