Exemple #1
0
def test_unamef4():
    assert isValidUser('format C:') == False
Exemple #2
0
def test_unamef3():
    assert isValidUser(
        'this-is-a-super-creative-name-for-github-user') == False
Exemple #3
0
def test_unamef():
    assert isValidUser('user--123') == False
Exemple #4
0
def test_unamef3():
    assert isValidUser('-user123-') == False
Exemple #5
0
def test_uname2():
    assert isValidUser('user-123') == True