tests.paraminfo_tests module#
Test confirming paraminfo contains expected values.
- class tests.paraminfo_tests.EchoKnownTypesTestCase(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,KnownTypesTestBase
,WikimediaDefaultSiteTestCase
Verify Echo types using paraminfo.
- abstract_class = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- class tests.paraminfo_tests.KnownTypesTestBase(methodName='runTest')[source]#
Bases:
TestCaseBase
Base class for paraminfo checks.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- class tests.paraminfo_tests.MediaWikiKnownTypesTestCase(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,KnownTypesTestBase
,DefaultSiteTestCase
Verify MediaWiki types using paraminfo.
- abstract_class = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- class tests.paraminfo_tests.SiteMatrixKnownTypesTestCase(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,KnownTypesTestBase
,WikimediaDefaultSiteTestCase
Verify Echo types using paraminfo.
- abstract_class = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- class tests.paraminfo_tests.WikibaseKnownTypesTests(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,KnownTypesTestBase
,DefaultWikibaseClientTestCase
Verify Wikibase types using paraminfo.
- abstract_class = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- wikibase = True#