|
@@ -5,6 +5,7 @@ import threading
|
|
|
import unittest
|
|
|
import warnings
|
|
|
from decimal import Decimal, Rounded
|
|
|
+from unittest import mock
|
|
|
|
|
|
from django.core.exceptions import ImproperlyConfigured
|
|
|
from django.core.management.color import no_style
|
|
@@ -20,7 +21,7 @@ from django.db.models import Avg, StdDev, Sum, Variance
|
|
|
from django.db.models.sql.constants import CURSOR
|
|
|
from django.db.utils import ConnectionHandler
|
|
|
from django.test import (
|
|
|
- SimpleTestCase, TestCase, TransactionTestCase, mock, override_settings,
|
|
|
+ SimpleTestCase, TestCase, TransactionTestCase, override_settings,
|
|
|
skipIfDBFeature, skipUnlessDBFeature,
|
|
|
)
|
|
|
|