diff options
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/tools.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 8db371f7b6..49d4c10bbb 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1036,7 +1036,7 @@ If ``multi_db=True``, fixtures are loaded into all databases. Overriding settings ~~~~~~~~~~~~~~~~~~~ -.. method:: SimpleTestCase.settings +.. method:: SimpleTestCase.settings() For testing purposes it's often useful to change a setting temporarily and revert to the original value after running the testing code. For this use case @@ -1061,7 +1061,7 @@ Django provides a standard Python context manager (see :pep:`343`) called This example will override the :setting:`LOGIN_URL` setting for the code in the ``with`` block and reset its value to the previous state afterwards. -.. method:: SimpleTestCase.modify_settings +.. method:: SimpleTestCase.modify_settings() .. versionadded:: 1.7 |
