diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-05-30 22:18:01 +0100 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-05-30 23:10:30 +0100 |
| commit | 00e8e514e173dbbbc9d30f5753f4605eeffb2340 (patch) | |
| tree | 09f133dc86416f40e202ecb3a576af2e5928ad3d /tests/postgres_tests/test_json.py | |
| parent | 33ea472f6924480eb8708bc6d0ac90b9f742ba68 (diff) | |
Name PostgreSQL correctly.
Diffstat (limited to 'tests/postgres_tests/test_json.py')
| -rw-r--r-- | tests/postgres_tests/test_json.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postgres_tests/test_json.py b/tests/postgres_tests/test_json.py index b59abe7898..9637d47ec6 100644 --- a/tests/postgres_tests/test_json.py +++ b/tests/postgres_tests/test_json.py @@ -5,7 +5,7 @@ from django.core import exceptions, serializers from django.db import connection from django.test import TestCase -from . import PostgresSQLTestCase +from . import PostgreSQLTestCase from .models import JSONModel try: @@ -219,7 +219,7 @@ class TestSerialization(TestCase): self.assertEqual(instance.field, {'a': 'b'}) -class TestValidation(PostgresSQLTestCase): +class TestValidation(PostgreSQLTestCase): def test_not_serializable(self): field = JSONField() @@ -229,7 +229,7 @@ class TestValidation(PostgresSQLTestCase): self.assertEqual(cm.exception.message % cm.exception.params, "Value must be valid JSON.") -class TestFormField(PostgresSQLTestCase): +class TestFormField(PostgreSQLTestCase): def test_valid(self): field = forms.JSONField() |
