summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_unaccent.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-16 18:10:35 -0500
committerTim Graham <timograham@gmail.com>2015-02-17 06:35:17 -0500
commita00a0f880485e1f122e48e0216d34d08efe199e1 (patch)
tree32e3f224efa19f8c08a42a33017626d725e41a79 /tests/postgres_tests/test_unaccent.py
parent730fb593ad19731e7018dd83236318bfe71de86a (diff)
[1.8.x] Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL.
Backport of 8b39f33d78ce5749f8ca40a7ae6823b5f6c26c09 from master
Diffstat (limited to 'tests/postgres_tests/test_unaccent.py')
-rw-r--r--tests/postgres_tests/test_unaccent.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/postgres_tests/test_unaccent.py b/tests/postgres_tests/test_unaccent.py
index 47ccbda519..ba65155301 100644
--- a/tests/postgres_tests/test_unaccent.py
+++ b/tests/postgres_tests/test_unaccent.py
@@ -1,15 +1,11 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
-import unittest
-
-from django.db import connection
from django.test import TestCase, modify_settings
from .models import CharFieldModel, TextFieldModel
-@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required')
@modify_settings(INSTALLED_APPS={'append': 'django.contrib.postgres'})
class UnaccentTest(TestCase):