'L{UNIXPasswordDatabase} takes a list of functions to check for UNIX
user information.'

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('anybody', 'secret')), 'anybody')
