diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-05-12 19:37:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-12 19:37:42 +0200 |
| commit | 35319bf12ccefe1911588493484160aa49208f89 (patch) | |
| tree | fe1cb029786e49622e6ba3af3ddf3dc9956502ff /docs/topics/testing | |
| parent | 1b7d524cfa7b7834af26c99407af66be6813938d (diff) | |
Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 82953f88be..7e65a896f2 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -38,7 +38,7 @@ Example The following is a simple unit test using the request factory:: from django.contrib.auth.models import AnonymousUser, User - from django.test import TestCase, RequestFactory + from django.test import RequestFactory, TestCase from .views import MyView, my_view diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 6e83bbc6a9..1f7d3b4f06 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1023,7 +1023,7 @@ If you want to use a different ``Client`` class (for example, a subclass with customized behavior), use the :attr:`~SimpleTestCase.client_class` class attribute:: - from django.test import TestCase, Client + from django.test import Client, TestCase class MyTestClient(Client): # Specialized methods for your environment |
