summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2014-04-18Fixed #22465 -- New assertion assertJSONNotEqualamatellanes
2014-04-16Fixed spelling errors in documentation.Tim Graham
2014-04-14Fixed #22369 -- Added count parameter to assertTemplateUsedJacob R. Rothenbuhler
2014-04-12Also allowed a non-overridden setting to be deletedClaude Paroz
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
2014-04-12Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase onesClaude Paroz
Thanks aptiko for the reporti and Tim Graham for the review.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-05Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-03-09Corrected a few missed references to old test settingsShai Berger
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed #22071 -- Added a warning regarding override_settings and aliasing.Henk Vos
Thanks EvilDMP for the suggestion.
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-15Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().Zbigniew Siciarz
Thanks Marc Tamlyn for the suggestion.
2014-02-10Allowed a message to be passed to assertQuerysetEqual to make it consistent ↵Chris Bailey
with other assert methods.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-22Don'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-16Fixed #21740 -- Stopped using mutable default arguments in test clientClaude Paroz
Thanks Denver Coneybeare for the report and initial patch, and Atala for another patch.
2014-01-09Fixed #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-31Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.Tim Graham
Thanks cjerdonek for the suggestion.
2013-12-23Added modify_settings to alter settings containing lists of values.Aymeric Augustin
2013-12-18Fixed #21625 -- incorrect documentation for DiscoverRunner.build_suiteTianyi Wang
2013-12-08Updated a bunch of hyperlinks in documentationClaude Paroz
2013-11-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-11-19Fixed #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-07Fixed #13725 -- take url scheme into account in assertRedirectsUnai 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-02Fixed #21341 -- Eased https requests with the test clientUnai 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-22Fixed #21304 -- Typo in docs/topics/testing/advanced.txtTim Graham
Thanks joao at silvaneves.org for the report.
2013-10-11Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.Tim Graham
Thanks slinkp for the suggestion.
2013-09-10Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵Juan Catalano
redirect's response. Thanks mjtamlyn for the suggestion.
2013-09-10Fixed #16534 -- Improved ability to customize DiscoverRunnerTim Graham
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-09Fixed #19885 -- cleaned up the django.test namespaceKevin 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-07Fixed #21068 -- Added some docs for DiscoverRunnerTim Graham
Thanks jcd.
2013-09-06Fixed a link in topics/testing/overview.txtTim Graham
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.
2013-08-23Merge remote-tracking branch 'core/master' into schema-alterationAndrew 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-22Documentation -- Clarified use of 'view' in test client introduction.Kevin Christopher Henry
2013-08-19Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: docs/ref/django-admin.txt
2013-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew 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-30Rename pre_ and post_syncdb to *_migrate, with aliases from old namesAndrew Godwin
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-25More migration docs, and conversion of all easy syncdb referencesAndrew Godwin
2013-07-19Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a classClaude Paroz
Thanks Tim Graham for the review and improved patch.
2013-07-12Fixed #19031 -- Added a warning when using override_settings with 'DATABASES'Joeri Bekker
2013-07-03Fixed #20609 -- Documented how to use request.user with RequestFactorySusanTan
Thanks michel@ for the suggestion.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-07-01Fixed #20680 -- Deprecated django.utils.unittest.Aymeric Augustin
Refs #19204.
2013-06-27Fixed #20590: Documented new test case orderingAndrew Godwin