Commits

Robert Brewer  committed 55b55fb

Bah. Missed one.

  • Participants
  • Parent commits f8f032c

Comments (0)

Files changed (1)

File cherrypy/test/test_core.py

         self.getPage('/maxrequestsize/upload', h, "POST", b)
         self.assertBody('Size: 5')
         
-        if cherrypy.server.httpserverclass.__name__ == "WSGIServer":
+        httpcls = cherrypy.server.httpserverclass
+        if httpcls and httpcls.__name__ == "WSGIServer":
             cherrypy.config.update({
                 '/maxrequestsize': {'server.maxRequestBodySize': 3}})
             self.getPage('/maxrequestsize/upload', h, "POST", b)