summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/migrations/0001_setup_extensions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py
index 7add08c499..6342ba7732 100644
--- a/tests/postgres_tests/migrations/0001_setup_extensions.py
+++ b/tests/postgres_tests/migrations/0001_setup_extensions.py
@@ -1,3 +1,5 @@
+from unittest import mock
+
from django.db import migrations
try:
@@ -6,7 +8,6 @@ try:
TrigramExtension, UnaccentExtension,
)
except ImportError:
- from django.test import mock
BtreeGinExtension = mock.Mock()
CreateExtension = mock.Mock()
HStoreExtension = mock.Mock()