tests.flow_tests module#
Tests for the flow module.
- class tests.flow_tests.TestBoardBasePageMethods(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,BasePageMethodsTestBase
,TestMediaWikiFlowSandbox
Test Flow board pages using BasePage-defined methods.
- abstract_class = False#
- code = 'mediawiki'#
- family = 'mediawiki'#
- net = True#
- site = True#
- sites = {'mediawiki:mediawiki': {'code': 'mediawiki', 'family': 'mediawiki'}}#
- class tests.flow_tests.TestFlowFactoryErrors(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,ForceCacheMixin
,TestCase
Test errors associated with class methods generating Flow objects.
- abstract_class = False#
- cached = True#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- class tests.flow_tests.TestFlowLoading(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,ForceCacheMixin
,TestMediaWikiFlowSandbox
Test loading of Flow objects from the API.
- abstract_class = False#
- cached = True#
- code = 'mediawiki'#
- family = 'mediawiki'#
- net = True#
- site = True#
- sites = {'mediawiki:mediawiki': {'code': 'mediawiki', 'family': 'mediawiki'}}#
- class tests.flow_tests.TestFlowTopic(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,TestCase
Test Topic functions.
- abstract_class = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
- class tests.flow_tests.TestLoadRevisionsCaching(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,BasePageLoadRevisionsCachingTestBase
,TestMediaWikiFlowSandbox
Test site.loadrevisions() caching.
- abstract_class = False#
- cached = False#
- code = 'mediawiki'#
- family = 'mediawiki'#
- net = True#
- site = True#
- sites = {'mediawiki:mediawiki': {'code': 'mediawiki', 'family': 'mediawiki'}}#
- class tests.flow_tests.TestMediaWikiFlowSandbox(*args, **kwargs)[source]#
Bases:
TestCase
Test the Flow sandbox on MediaWiki.org.
- abstract_class = True#
- code = 'mediawiki'#
- family = 'mediawiki'#
- class tests.flow_tests.TestTopicBasePageMethods(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,BasePageMethodsTestBase
Test Flow topic pages using BasePage-defined methods.
- abstract_class = False#
- code = 'mediawiki'#
- family = 'mediawiki'#
- net = True#
- site = True#
- sites = {'mediawiki:mediawiki': {'code': 'mediawiki', 'family': 'mediawiki'}}#