def test_passInCheckers(self):
        password = crypt.crypt('secret', 'secret')
        userdb = UserDatabase()
        userdb.addUser('anybody', password, 1, 2, 'foo', '/bar', '/bin/sh')
        checker = checkers.UNIXPasswordDatabase([userdb.getpwnam])
        self.assertLoggedIn(
            checker.requestAvatarId(UsernamePassword(b'anybody', b'secret')),
            b'anybody')
L{UNIXPasswordDatabase} takes a list of functions to check for UNIX
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_checkers.py/UNIXPasswordDatabaseTests.test_passInCheckers