tests.basepage module#

BasePage tests subclasses.

class tests.basepage.BasePageLoadRevisionsCachingTestBase(*args, **kwargs)[source]#

Bases: BasePageTestBase

Test site.loadrevisions() caching.

This test class monkey patches site.loadrevisions, which will cause the pickling tests in site_tests and page_tests to fail, if it is done on the same site as those tests use (the default site).

abstract_class = True#
cached = False#
custom_text = 'foobar'#
setUp()[source]#

Set up test.

class tests.basepage.BasePageMethodsTestBase(*args, **kwargs)[source]#

Bases: BasePageTestBase

Test base methods.

abstract_class = True#
class tests.basepage.BasePageTestBase(*args, **kwargs)[source]#

Bases: TestCase

Base of BasePage test classes.

abstract_class = True#
setUp()[source]#

Set up test.