| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-22 | Always use parentheses when documenting a method with no arguments. | Baptiste Mispelon | |
| 2014-01-22 | Don't show `self` in the list of arguments of a method. | Baptiste Mispelon | |
| This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855. | |||
| 2014-01-16 | Fixed #21740 -- Stopped using mutable default arguments in test client | Claude Paroz | |
| Thanks Denver Coneybeare for the report and initial patch, and Atala for another patch. | |||
| 2014-01-09 | Fixed #12571 -- Attached originating WSGIRequest to test client responses. | Unai Zalakain | |
| Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of the ``HttpResponse`` returned by the testing client. Thanks rvdrijst for the suggestion. | |||
| 2013-12-31 | Fixed #21701 -- Improved testing doc titles and added testing/tools.txt. | Tim Graham | |
| Thanks cjerdonek for the suggestion. | |||
| 2013-12-23 | Added modify_settings to alter settings containing lists of values. | Aymeric Augustin | |
| 2013-12-18 | Fixed #21625 -- incorrect documentation for DiscoverRunner.build_suite | Tianyi Wang | |
| 2013-12-08 | Updated a bunch of hyperlinks in documentation | Claude Paroz | |
| 2013-11-21 | Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs. | Loic Bistuer | |
| 2013-11-19 | Fixed #15179 -- middlewares not applied for test client login() | Unai Zalakain | |
| Requests made with django.test.Client.login() and logout() respect defaults defined in django.test.Client instantiation and are processed through middleware. Thanks to Loic for the reviews. | |||
| 2013-11-07 | Fixed #13725 -- take url scheme into account in assertRedirects | Unai Zalakain | |
| Scheme is handled correctly when making comparisons between two URLs. If there isn't any scheme specified in the location where we are redirected to, the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparations to. | |||
| 2013-11-02 | Fixed #21341 -- Eased https requests with the test client | Unai Zalakain | |
| All request methods of ``django.test.client.Client`` receive a ``secure`` argument that defaults to ``False`` indicating whether or not to make the request through https. Thanks Aymeric Augustin for the review. | |||
| 2013-10-22 | Fixed #21304 -- Typo in docs/topics/testing/advanced.txt | Tim Graham | |
| Thanks joao at silvaneves.org for the report. | |||
| 2013-10-11 | Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures. | Tim Graham | |
| Thanks slinkp for the suggestion. | |||
| 2013-09-10 | Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵ | Juan Catalano | |
| redirect's response. Thanks mjtamlyn for the suggestion. | |||
| 2013-09-10 | Fixed #16534 -- Improved ability to customize DiscoverRunner | Tim Graham | |
| Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch. | |||
| 2013-09-09 | Fixed #19885 -- cleaned up the django.test namespace | Kevin Christopher Henry | |
| * override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion. | |||
| 2013-09-07 | Fixed #21068 -- Added some docs for DiscoverRunner | Tim Graham | |
| Thanks jcd. | |||
| 2013-09-06 | Fixed a link in topics/testing/overview.txt | Tim Graham | |
| 2013-08-31 | Made 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. | |||
| 2013-08-23 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/backends/oracle/base.py django/db/backends/postgresql_psycopg2/base.py django/db/models/signals.py tests/queries/tests.py | |||
| 2013-08-22 | Documentation -- Clarified use of 'view' in test client introduction. | Kevin Christopher Henry | |
| 2013-08-19 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: docs/ref/django-admin.txt | |||
| 2013-08-19 | Removed versionadded/changed annotations for 1.5 | Tim Graham | |
| 2013-08-09 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt | |||
| 2013-07-30 | Rename pre_ and post_syncdb to *_migrate, with aliases from old names | Andrew Godwin | |
| 2013-07-27 | Fixed a number of minor misspellings. | Julien Phalip | |
| 2013-07-25 | More migration docs, and conversion of all easy syncdb references | Andrew Godwin | |
| 2013-07-19 | Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a class | Claude Paroz | |
| Thanks Tim Graham for the review and improved patch. | |||
| 2013-07-12 | Fixed #19031 -- Added a warning when using override_settings with 'DATABASES' | Joeri Bekker | |
| 2013-07-03 | Fixed #20609 -- Documented how to use request.user with RequestFactory | SusanTan | |
| Thanks michel@ for the suggestion. | |||
| 2013-07-01 | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | |
| Refs #20680. | |||
| 2013-07-01 | Fixed #20680 -- Deprecated django.utils.unittest. | Aymeric Augustin | |
| Refs #19204. | |||
| 2013-06-27 | Fixed #20590: Documented new test case ordering | Andrew Godwin | |
| 2013-06-12 | Fixed #20579 -- Improved TransactionTestCase.available_apps. | Aymeric Augustin | |
| Also moved its documentation to the 'advanced' section. It doesn't belong to the 'overview'. Same for TransactionTestCase.reset_sequences. When available_apps is set, after a TransactionTestCase, the database is now totally empty. post_syncdb is fired at the beginning of the next TransactionTestCase. Refs #20483. | |||
| 2013-06-10 | Added TransactionTestCase.available_apps. | Aymeric Augustin | |
| This can be used to make Django's test suite significantly faster by reducing the number of models for which content types and permissions must be created and tables must be flushed in each non-transactional test. It's documented for Django contributors and committers but it's branded as a private API to preserve our freedom to change it in the future. Most of the credit goes to Anssi. He got the idea and did the research. Fixed #20483. | |||
| 2013-06-05 | Proofed the 1.6 release notes | Tim Graham | |
| 2013-06-04 | Fixed #18924 -- Made test.Client.logout send user_logged_out signal. | Tim Graham | |
| Thanks awsum for the suggestion and Pavel Ponomarev and Florian Hahn for the patch. | |||
| 2013-05-31 | Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs. | Tim Graham | |
| Thanks czambran. | |||
| 2013-05-27 | Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetError | Tim Graham | |
| Thank-you Martin Green for the patch. | |||
| 2013-05-23 | Fixed #20316 - Clarified transaction behavior of TestCase. | Tim Graham | |
| Thanks uberj@ for the report and lolek09 for the patch. | |||
| 2013-05-18 | Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase. | Ramiro Morales | |
| Thanks zalew for the suggestion and work on a patch. Also updated, tweaked and fixed testing documentation. | |||
| 2013-05-15 | Fixed #20165 - Updated testing example to use django.test.TestCase. | Tim Graham | |
| Thanks Lorin Hochstein. | |||
| 2013-05-12 | Updated test failure example. | Ramiro Morales | |
| 2013-05-10 | Fixed #17365, #17366, #18727 -- Switched to discovery test runner. | Carl Meyer | |
| Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670. | |||
| 2013-05-07 | Python 2.5 is not relevant to master. | Carl Meyer | |
| 2013-05-06 | Fixed #20177 - Corrected docs for django.test.utils.setup_test_environment. | Tim Graham | |
| Thanks vlad.london.uk@ for the report. | |||
| 2013-05-06 | Fixed #20274 - Added some clarifying section headings in the test docs. | Tim Graham | |
| 2013-04-20 | Adapted uses of versionchanged/versionadded to the new form. | Juan Catalano | |
| Refs #20104. | |||
| 2013-03-29 | Fixed #19897 - Updated static files howto. | Tim Graham | |
| Thanks Jan Murre, Reinout van Rees and Wim Feijen, plus Remco Wendt for reviewing. | |||
