tests.mediawikiversion_tests module# Tests for the tools.MediaWikiVersion class. class tests.mediawikiversion_tests.TestMediaWikiVersion(*args, **kwargs)[source]# Bases: DisableSiteMixin, TestCase Test MediaWikiVersion class comparisons. GENERATOR_STRING_RE = 'Generator string'# INVALID_VERSION_RE = 'Invalid version number'# abstract_class = False# test_combined_versions()[source]# Test comparison between wmf versions and release versions. test_generator()[source]# Test from_generator classmethod. test_interpretation()[source]# Test if the data is correctly interpreted. test_invalid_type_comparison()[source]# Compare with a type other than a version or string. test_invalid_versions()[source]# Verify that insufficient version fail creating. test_non_wmf_scheme()[source]# Test version numbers not following the wmf-scheme. test_normal_versions()[source]# Test comparison between release versions. test_wmf_versions()[source]# Test comparison between wmf versions.