django1/django/test
Florian Apolloner 56201fe5a8 [1.6.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:04:50 +02:00
..
__init__.py Fixed #3011 -- Added swappable auth.User models. 2012-09-26 18:48:09 +08:00
_doctest.py Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
client.py [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
html.py Fixed spelling errors 2013-03-28 11:16:53 -06:00
runner.py [1.6.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear down aliases 2013-07-13 17:46:37 -04:00
signals.py Fixed #17744 -- Reset default file storage with setting_changed signal 2012-10-30 22:23:28 +01:00
simple.py Fixed #20503 - Moved doctest utilities in with the rest of the deprecated test code. 2013-05-27 14:55:08 -06:00
testcases.py [1.6.x] Fixed "Address already in use" from liveserver. 2013-09-22 22:04:50 +02:00
utils.py Fixed #20636 -- Stopped stuffing values in the settings. 2013-06-24 20:43:44 +02:00