Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/servers
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25204 -- Added missing space in runserver logging.Tim Graham2015-08-011-0/+10
|
* Replaced six.BytesIO with io.BytesIOTim Graham2015-07-201-1/+2
|
* 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
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Fixed typo in error message in the test.Tim Graham2015-02-201-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-5/+3
|
* Stripped headers containing underscores to prevent ↵Carl Meyer2015-01-131-0/+55
| | | | | | | | spoofing in WSGI environ. This is a security fix. Disclosure following shortly. Thanks to Jedediah Smith for the report.
* Fixed #23930 -- Added copies of captured_std* managers ↵wrwrwr2014-11-291-9/+4
| | | | | | from CPython's test.support. StringIO import was adapted for compatibility with Python 2.
* Fixed #21281 -- Made override_settings act at class ↵Thomas Chaumeny2014-11-031-14/+1
| | | | level when used as a TestCase decorator.
* Fixed #23398 -- Added helpful error message when ↵Flavio Curella2014-09-091-0/+27
| | | | runserver is accessed via HTTPS
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-1/+1
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-3/+3
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* 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
|
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-0/+0
| | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
* 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.
* Fixed #20989 -- Removed useless explicit list ↵Simon Charette2013-08-301-2/+2
| | | | comprehensions.
* Expand testing of Test LiveServerTestCase static files ↵Ramiro Morales2013-08-104-0/+9
| | | | serving.
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+0
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* 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-268-0/+227