diff options
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() |
