Exemple #1
0
def test_check_user2():
    user = finger.check_user('username1', './_fix/1/passwd2')
    assert (user == {})
Exemple #2
0
def test_check_user2():
    user = finger.check_user('username1', './_fix/1/passwd2')
    assert (user == {})
Exemple #3
0
def test_check_user1():
    user = finger.check_user('username1', './_fix/1/passwd1')
    assert (user['name'] == user1['name'])
    assert (user['uid'] == user1['uid'])
    assert (user['gid'] == user1['gid'])
    assert (user['shell'] == user1['shell'])
Exemple #4
0
def test_check_user1():
    user = finger.check_user('username1', './_fix/1/passwd1')
    assert (user['name'] == user1['name'])
    assert (user['uid'] == user1['uid'])
    assert (user['gid'] == user1['gid'])
    assert (user['shell'] == user1['shell'])