python webtest port configuration?

Posted by MattM on Stack Overflow See other posts from Stack Overflow or by MattM
Published on 2010-05-05T14:46:14Z Indexed on 2010/05/05 14:48 UTC
Read the original article Hit count: 295

Filed under:
|
|

I am attempting to write some tests using webtest to test out my python GAE application. The problem I am running into is that the application is listening on port 8080 but I cannot configure webtest to hit that port.

For example, I want to use app.get('/getreport') to hit http://localhost:8080/getreport. Obviously, it hits just thits http:// localhost/getreport.

Is there a way to set up webtest to hit a particular port?

© Stack Overflow or respective owner

Related posts about python

Related posts about webtest