tests.regex module

Tests for the data_helper.regex module

class tests.regex.WildcardReTestCase(methodName='runTest')[source]

Bases: tests.BaseTest.BaseTest

regex.wildcard_re() test cases

test_alpha_pattern()[source]

Test if a string with only alpha characters returns with the same value

test_alphanum_pattern()[source]

Test if a string with only alphanumeric characters returns with the same value

test_punctuation()[source]

Test if a string with a punctuation character returns with the correct modification

test_wildcard()[source]

Test if a string with a wildcard character returns with the correct modification