django1/django/test
Florian Apolloner 18fe77e4ed [1.5.x] Fixed "Address already in use" from liveserver.
Our WSGIServer rewrapped the socket errors from server_bind into
WSGIServerExceptions, which is used later on to provide nicer
error messages in runserver and used by the liveserver to see if
the port is already in use. But wrapping server_bind isn't enough since
it only binds to the socket, socket.listen (which is called from
server_activate) could also raise "Address already in use".

Instead of overriding server_activate too I chose to just catch socket
errors, which seems to make more sense anyways and should be more robust
against changes in wsgiref.

Backport of 2ca00faa91 from master
2013-09-22 22:08:59 +02:00
..
__init__.py Fixed #3011 -- Added swappable auth.User models. 2012-09-26 18:48:09 +08:00
_doctest.py [1.5.x] Stopped using non-standard __globals__ and __code__ attributes. 2013-03-17 16:05:55 +01:00
client.py [1.5.x] Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4. 2013-01-01 10:14:24 +01:00
html.py [1.5.x] Fixed spelling errors 2013-03-29 08:00:24 -04:00
signals.py [1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal 2012-10-30 22:26:03 +01:00
simple.py [1.5.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear down aliases 2013-07-13 18:09:24 -04:00
testcases.py [1.5.x] Fixed "Address already in use" from liveserver. 2013-09-22 22:08:59 +02:00
utils.py [1.5.x] Fixed #20636 -- Stopped stuffing values in the settings. 2013-06-24 20:40:19 +02:00