textlib_tests

Tests in tests.textlib_tests:

Available tests

class tests.textlib_tests.TestCategoryRearrangement(*args, **kwargs)[source]

Ensure that sorting keys are not being lost.

Tests .getCategoryLinks() and .replaceCategoryLinks(), with both a newline and an empty string as separators.

class tests.textlib_tests.TestFormatCategory(*args, **kwargs)[source]

Test category formatting.

class tests.textlib_tests.TestFormatInterwiki(*args, **kwargs)[source]

Test format functions.

class tests.textlib_tests.TestLocalDigits(*args, **kwargs)[source]

Test to verify that local digits are correctly being handled.

class tests.textlib_tests.TestSectionFunctions(*args, **kwargs)[source]

Test wikitext section handling function.

class tests.textlib_tests.TestTemplatesInCategory(*args, **kwargs)[source]

Tests to verify that templates in category links are handled.