summaryrefslogtreecommitdiff
path: root/tests/check_framework
AgeCommit message (Collapse)Author
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-11-14Fixed invalid escape sequence warning in check_framework test.Tim Graham
2017-11-07Fixed #28663 -- Add a check for likely incorrectly migrated ↵Chris Lamb
django.urls.path() routes.
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20Added a checks test for valid i18n patterns.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-03-03Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside ↵Tim Graham
non-namespaced URLs.
2017-02-24Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested namespaces.Chris Lamb
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting.Tim Graham
2017-01-17Refs #25079 -- Removed obsolete system check for TEMPLATE_* settings.Tim Graham
2017-01-17Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
2016-12-29Fixed #25415 -- Made DiscoverRunner run system checks.Adam Chainz
2016-12-23Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.Adam Chainz
2016-12-21Wrapped an import per isort.Tim Graham
2016-12-21Fixed #27612 -- Added a check for duplicate URL instance namespaces.Andrew Nester
2016-12-19Fixed #27611 -- Doc'd that CSRF_COOKIE_HTTPONLY setting offers no security.Tim Graham
2016-12-17Refs #16859 -- Disabled CSRF_COOKIE_* checks when using CSRF_USE_SESSIONS.Raphael Michel
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-09-19Fixed #27238 -- Disabled check_pattern_startswith_slash if ↵Alasdair Nicol
settings.APPEND_SLASH=False. Thanks strycore for the report and timgraham for suggesting the solution.
2016-09-01Clarified URL regex check message with respect to include().Riccardo Magliocchetti
2016-08-16Fixed crash comparing CheckMessage objects to non-CheckMessage objects.Adam Chainz
2016-08-16Added tests for check Message equality.Adam Chainz
2016-08-10Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD.Ed Morley
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-14Removed usage of a few deprecated unittest assertions.Ville Skyttä
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-04-30Fixed #26440 -- Added a warning for non-url()s in urlpatterns.Alasdair Nicol
Thanks Burhan Khalid for the initial patch and knbk/timgraham for review.
2016-04-29Added an explicit test that URL checks are recursive.Alasdair Nicol
2016-04-08Fixed #26351 -- Added MySQL check to warn about strict mode optionClaude Paroz
Thanks Adam Chainz for the initial implementation in django-mysql. Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
2016-04-08Refs #26351 -- Added check hook to support database-related checksClaude Paroz
Thanks Tim Graham and Shai Berger for the reviews.
2016-03-21Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.Vincenzo Pandolfo
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-12Updated allow_migrate() signature in check framework testsMarkus Holtermann
2016-02-01Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.Buddy Lindsey, Jr
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-10-05Fixed #25500 -- Added --fail-level option to check command.Jon Dufresne
This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``.
2015-09-21Refs #23813 -- Moved URLconfs into module and tidied docstrings.Alasdair Nicol