summaryrefslogtreecommitdiff
path: root/tests/test_utils
AgeCommit message (Collapse)Author
2014-02-07Fixed #21518 -- Made override_settings(ROOT_URLCONF) clear the resolver cache.Chris Wilson
Thanks Aymeric Augustin and Simon Charette for reviews.
2013-12-11Fixed #21462 -- Made `assertNumQueries` print executed queries on failure.Dominic Rodger
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-08Flake8 fix -- correct number of newlines between top level definitionsAlex Gaynor
2013-11-08Fixed #17529 -- get_template_from_string default arguments breakUnai Zalakain
``get_template_from_string`` default arguments were breaking ``assertTemplateUsed``. The solution has been to return only the names of the templates with a ``name`` attribute distinct of ``None``. The default ``name`` kwarg of ``Template`` has been changed to ``None``, more pythonic than ``'<Unknown Template>'``.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-26Fixed all the E203 violationsAlex Gaynor
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-10-10Removed unnecessary semicolons.Tim Graham
2013-09-22Partial revert of 165f44aa.Aymeric Augustin
That commit didn't always improve readability. See discussion on django-developers for details.
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-19Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a classClaude Paroz
Thanks Tim Graham for the review and improved patch.
2013-07-01Removed tests for django.utils.unittest vs. unittest.Aymeric Augustin
Silenced warnings caused by the deprecation of django.utils.unittest. Thanks Preston Timmons and Carl Meyer for their advice. Fixed #20680.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-06-29More import removalsClaude Paroz
Following the series of commits removing deprecated features in Django 1.7, here are some more unneeded imports removed and other minor cleanups.
2013-06-28Removed warnings level handling code as per deprecation TL.Ramiro Morales
2013-06-14Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suiteMarc Tamlyn
2013-04-13Used a Python 3 compatible StringIO in test_utilsClaude Paroz
2013-04-12Modified test_utils to work with unittest2 discovery.Preston Timmons
2013-03-02Added a context manager to capture queries while testing.Simon Charette
Also made some import cleanups while I was there. Refs #10399.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner