summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/test_liveserver.py
AgeCommit message (Collapse)Author
2021-10-26Fixed #27079 -- Avoided multiple setUpClass()/tearDownClass() calls in ↵Jacob Walls
LiveServerTestCase tests.
2021-02-15Refs #32417 -- Improved cleaning up and fixed isolation of staticfiles_tests ↵Chris Jerdonek
tests.
2021-02-06Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵Markus Holtermann
docs where appropriate.
2019-02-14Fixed #30171 -- Fixed DatabaseError in servers tests.Jon Dufresne
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2).Tim Graham
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-23Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0.Tim Graham
2016-06-20Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.Tobias McNulty
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-07-06Fixed some unclosed objects in testsAndriy Sokolovskiy
2015-02-21Removed obsolete reference to media directory.Aymeric Augustin
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-08-28Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCaseClaude Paroz
Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch.
2014-06-21Removed some apps from ALWAYS_INSTALLED_APPSClaude Paroz
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-22Stopped iterating on INSTALLED_APPS.Aymeric Augustin
Used the app cache's get_app_configs() method instead.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-08-31Made django.test.testcases not depend on staticfiles contrib app.Ramiro Morales
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase unittest TestCase subclass. Fixes #20739.