def test___bobo_traverse__attribute_key_miss_R_M_default_real_request(self): from UserDict import UserDict request = UserDict() class _Response: def notFoundError(self, msg): 1/0 request.RESPONSE = _Response() app = self._makeOne() app._getOb = _noWay self.assertRaises(ZeroDivisionError, app.__bobo_traverse__, request, 'NONESUCH')