示例#1
0
def test_seclist_1_not_common():
    isCommon = checker.seclist('th1sPassw0rdIsN0tC0mm0n', 1)
    assert isCommon == False, 'Should be False'
示例#2
0
def test_seclist_4_is_common():
    isCommon = checker.seclist('wh@tever0', 4)
    assert isCommon == True, 'Should be True'
示例#3
0
def test_seclist_3_is_common():
    isCommon = checker.seclist('tecum', 3)
    assert isCommon == True, 'Should be True'
示例#4
0
def test_seclist_1_is_common():
    isCommon = checker.seclist('freepass', 1)
    assert isCommon == True, 'Should be True'
示例#5
0
def test_seclist_2_is_common():
    isCommon = checker.seclist('mutant', 2)
    assert isCommon == True, 'Should be True'