1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #19885 -- cleaned up the django.test namespace

* 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.
This commit is contained in:
Kevin Christopher Henry
2013-09-09 04:59:47 -04:00
committed by Tim Graham
parent a52cc1c088
commit 9d700322b3
20 changed files with 49 additions and 58 deletions

View File

@@ -6,7 +6,8 @@ import re
from django.db import connection
from django.db.models import Avg, Sum, Count, Max, Min
from django.test import TestCase, Approximate
from django.test import TestCase
from django.test.utils import Approximate
from django.test.utils import CaptureQueriesContext
from .models import Author, Publisher, Book, Store