You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/database.rst
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,6 +267,22 @@ tests.
267
267
268
268
This fixture is by default requested from :fixture:`django_db_setup`.
269
269
270
+
271
+
django_testcase
272
+
"""""""""""""""
273
+
274
+
.. fixture:: django_testcase
275
+
276
+
Provides access to Django's test case instance.
277
+
278
+
:fixture:`django_testcase` can be used to access Django's `custom assertion methods <https://docs.djangoproject.com/en/dev/topics/testing/tools/#assertions/>`_ that are useful for testing web applications::
0 commit comments