def test_pwdGetByName(self):
        userdb = UserDatabase()
        userdb.addUser(
            'alice', 'secrit', 1, 2, 'first last', '/foo', '/bin/sh')
        self.patch(checkers, 'pwd', userdb)
        self.assertEquals(
            checkers._pwdGetByName('alice'), userdb.getpwnam('alice'))
>>> Stats(range(100)).get_quantile(0.5)
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/test/test_checkers.py/HelperTests.test_pwdGetByName--crossover with--dataset/ETHPy150Open mahmoud/boltons/boltons/statsutils.py/Stats.get_quantile