diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-01-10 16:14:20 +0000 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-01-10 16:18:19 +0000 |
| commit | 48ad288679a0cb2e2cfb17f128903e6c5b1c4870 (patch) | |
| tree | 75bacb810dbe071058b5c5cf7d8dcb8e20f3f500 /tests/postgres_tests/test_array.py | |
| parent | 916e38802f151b34aaca487dc7e928946e81be73 (diff) | |
Fixed #24001 -- Added range fields for PostgreSQL.
Added support for PostgreSQL range types to contrib.postgres.
- 5 new model fields
- 4 new form fields
- New validators
- Uses psycopg2's range type implementation in python
Diffstat (limited to 'tests/postgres_tests/test_array.py')
| -rw-r--r-- | tests/postgres_tests/test_array.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index 5513fb34aa..90f4c246c6 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -237,6 +237,7 @@ class TestMigrations(TestCase): name, path, args, kwargs = field.deconstruct() self.assertEqual(path, 'postgres_tests.models.ArrayFieldSubclass') + @unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') @override_settings(MIGRATION_MODULES={ "postgres_tests": "postgres_tests.array_default_migrations", }) |
