def test_override_default_code(self): robj = wsgi.ResponseObject({}, code=http.NOT_FOUND) self.assertEqual(robj.code, http.NOT_FOUND)