def test_pwdGetByNameWithoutPwd(self):
        self.patch(checkers, 'pwd', None)
        self.assertIdentical(checkers._pwdGetByName('alice'), None)
If the C{pwd} module isn't present, L{_pwdGetByName} returns C{None}.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/test/test_checkers.py/HelperTests.test_pwdGetByNameWithoutPwd