diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-16 18:10:35 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-17 06:35:17 -0500 |
| commit | a00a0f880485e1f122e48e0216d34d08efe199e1 (patch) | |
| tree | 32e3f224efa19f8c08a42a33017626d725e41a79 /tests/postgres_tests/test_hstore.py | |
| parent | 730fb593ad19731e7018dd83236318bfe71de86a (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_hstore.py')
| -rw-r--r-- | tests/postgres_tests/test_hstore.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py index ac22f322b5..06544163f8 100644 --- a/tests/postgres_tests/test_hstore.py +++ b/tests/postgres_tests/test_hstore.py @@ -1,17 +1,14 @@ import json -import unittest from django.contrib.postgres import forms from django.contrib.postgres.fields import HStoreField from django.contrib.postgres.validators import KeysValidator from django.core import exceptions, serializers -from django.db import connection from django.test import TestCase from .models import HStoreModel -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class SimpleTests(TestCase): apps = ['django.contrib.postgres'] @@ -36,7 +33,6 @@ class SimpleTests(TestCase): self.assertEqual(reloaded.field, value) -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class TestQuerying(TestCase): def setUp(self): @@ -115,7 +111,6 @@ class TestQuerying(TestCase): ) -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class TestSerialization(TestCase): test_data = '[{"fields": {"field": "{\\"a\\": \\"b\\"}"}, "model": "postgres_tests.hstoremodel", "pk": null}]' |
