page_tests

Tests in tests.page_tests:

Available tests

class tests.page_tests.TestCategoryObject(*args, **kwargs)[source]

Test Category object.

test_isEmptyCategory()[source]

Test if category is empty or not.

class tests.page_tests.TestPageObject(*args, **kwargs)[source]

Test Page object.

testApiMethods()[source]

Test various methods that rely on API.

testBasePageConstructor()[source]

Test BasePage constructor.

testIsCategory()[source]

Test isCategory method.

testIsDisambig()[source]

Test the integration with Extension:Disambiguator.

testIsTalkPage()[source]

Test isTalkPage() method.

testNamespace()[source]

Test namespace() method.

testPageConstructor()[source]

Test Page constructor.

testSection()[source]

Test section() method.

testSite()[source]

Test site() method.

testTitle()[source]

Test title() method options in article namespace.

test_bad_page()[source]

Test various methods that rely on API: bad page.

test_redirect()[source]

Test that the redirect option is set correctly.

test_talk_page()[source]

Test various methods that rely on API: talk page.

class tests.page_tests.TestPageObjectEnglish(*args, **kwargs)[source]

Test Page Object using English Wikipedia.

testFileTitle()[source]

Test title() method options in File namespace.

testHelpTitle()[source]

Test title() method options in Help namespace.

class tests.page_tests.TestPageRedirects(*args, **kwargs)[source]

Test redirects.

class tests.page_tests.TestPageUserAction(*args, **kwargs)[source]

Test page user actions.