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')
Test/Exercise ServerEnvironment on EC2 instance.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/test/test_checkers.py/UNIXPasswordDatabaseTests.test_passInCheckers--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/environ.py/main