In config , and I quote
port
Is required? No, the default is "80"
Defines the port number that will be used for query execution, for example. "8080".
Edit : user clarified that they mean this web test (pythonpaste's) and not the widely used Canoo application, I would not have guessed because the pythonpaste web test is a completely different fish maker, and I quote ...:
With this, you can test your application network without starting an HTTP server, and not a web framework that cuts down fragments of your application, which should be tested. WebTest testing is fully consistent with how the WSGI HTTP server will invoke the application
The HTTP server does not start, there is no concept of "port" - everything is done at the WSGI stage without real TCP / IP and HTTP in the game. Thus, the "application" does not listen on port 8080 (or any other port), and its WSGI entry points are called directly "exactly as if" their HTTP server called them.
If you want to test the actual running HTTP server, you will need the Canoo website (or other equivalent frameworks) and not pythonpaste - the latter will do faster testing, avoiding any overhead at the socket and HTTP layer level, but this way , you cannot test a separate existing server (e.g. GAE SDK).
source share