def test_check_user2(): user = finger.check_user('username1', './_fix/1/passwd2') assert (user == {})
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'])