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:34:13 -0500 |
| commit | 8b39f33d78ce5749f8ca40a7ae6823b5f6c26c09 (patch) | |
| tree | ef7d506966440746a616deea0fedc7cfdd88c6a4 /tests/postgres_tests/test_array.py | |
| parent | 3adc5f1ee6618a615db07d4a868b366a15c39f82 (diff) | |
Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL.
Diffstat (limited to 'tests/postgres_tests/test_array.py')
| -rw-r--r-- | tests/postgres_tests/test_array.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index 770d5a1623..88e34f9ce4 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -18,7 +18,6 @@ from .models import ( ) -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class TestSaveLoad(TestCase): def test_integer(self): @@ -94,7 +93,6 @@ class TestSaveLoad(TestCase): self.assertEqual(instance.decimals, loaded.decimals) -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class TestQuerying(TestCase): def setUp(self): @@ -274,7 +272,6 @@ class TestMigrations(TransactionTestCase): 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", }) @@ -291,7 +288,6 @@ class TestMigrations(TransactionTestCase): self.assertNotIn(table_name, connection.introspection.table_names(cursor)) -@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required') class TestSerialization(TestCase): test_data = '[{"fields": {"field": "[\\"1\\", \\"2\\"]"}, "model": "postgres_tests.integerarraymodel", "pk": null}]' |
