summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/__init__.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/__init__.py
parent6b6d13bf6ed02c345912829e3850a201f113712a (diff)
Stopped special-casing postgres-specific tests
Refs #23879.
Diffstat (limited to 'tests/postgres_tests/__init__.py')
-rw-r--r--tests/postgres_tests/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/postgres_tests/__init__.py b/tests/postgres_tests/__init__.py
index e69de29bb2..9076bef850 100644
--- a/tests/postgres_tests/__init__.py
+++ b/tests/postgres_tests/__init__.py
@@ -0,0 +1,9 @@
+import unittest
+
+from django.db import connection
+from django.test import TestCase
+
+
+@unittest.skipUnless(connection.vendor == 'postgresql', "PostgreSQL specific tests")
+class PostgresSQLTestCase(TestCase):
+ pass