Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/servers/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some unclosed objects in testsAndriy Sokolovskiy2015-07-061-10/+11
|
* Fixed #24965 -- Made LiveServerTestCase.live_server_url ↵Moritz Sichert2015-06-121-4/+7
| | | | accessible from class
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-4/+2
|
* Fixed #21281 -- Made override_settings act at class ↵Thomas Chaumeny2014-11-031-14/+1
| | | | level when used as a TestCase decorator.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-1/+1
|
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Fixing E302 ErrorsJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed "Address already in use" from liveserver.Florian Apolloner2013-09-221-2/+2
| | | | | | | | | | | | | 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.
* Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin2013-09-051-4/+2
|
* Made django.test.testcases not depend on staticfiles ↵Ramiro Morales2013-08-311-12/+10
| | | | | | | | | contrib app. Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase unittest TestCase subclass. Fixes #20739.
* Expand testing of Test LiveServerTestCase static files ↵Ramiro Morales2013-08-101-0/+8
| | | | serving.
* Fixed a number of minor misspellings.Julien Phalip2013-07-281-1/+1
|
* Fixed #20290 -- Allow override_settings to be nestedOliver Beattie2013-06-211-0/+5
| | | | | Refactored override_settings to store the underlying settings._wrapped value seen at runtime, not instantiation time.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-1/+8
| | | | Fixed #20483.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-1/+1
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+170