summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_unaccent.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-04-04 18:10:26 +0200
committerClaude Paroz <claude@2xlibre.net>2015-04-18 15:17:49 +0200
commit36e90d1f45a13f53ce25fdc2d9c04433b835c9af (patch)
tree3e5ade944da5c13bcfaba6adac9b15cebbb2b9ef /tests/postgres_tests/test_unaccent.py
parent6b6d13bf6ed02c345912829e3850a201f113712a (diff)
Stopped special-casing postgres-specific tests
Refs #23879.
Diffstat (limited to 'tests/postgres_tests/test_unaccent.py')
-rw-r--r--tests/postgres_tests/test_unaccent.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/postgres_tests/test_unaccent.py b/tests/postgres_tests/test_unaccent.py
index ba65155301..af1618d183 100644
--- a/tests/postgres_tests/test_unaccent.py
+++ b/tests/postgres_tests/test_unaccent.py
@@ -1,13 +1,14 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
-from django.test import TestCase, modify_settings
+from django.test import modify_settings
+from . import PostgresSQLTestCase
from .models import CharFieldModel, TextFieldModel
@modify_settings(INSTALLED_APPS={'append': 'django.contrib.postgres'})
-class UnaccentTest(TestCase):
+class UnaccentTest(PostgresSQLTestCase):
Model = CharFieldModel