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

Stopped special-casing postgres-specific tests

Refs #23879.
This commit is contained in:
Claude Paroz
2015-04-04 18:10:26 +02:00
parent 6b6d13bf6e
commit 36e90d1f45
12 changed files with 154 additions and 71 deletions

View File

@@ -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