'If the C{pwd} module isn\'t present, L{_pwdGetByName} returns L{None}.'

def test_pwdGetByNameWithoutPwd(self):

    self.patch(checkers, 'pwd', None)
    self.assertIsNone(checkers._pwdGetByName('alice'))
