summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_hstore.py
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2015-05-30 22:18:01 +0100
committerMarc Tamlyn <marc.tamlyn@gmail.com>2015-05-30 23:10:30 +0100
commit00e8e514e173dbbbc9d30f5753f4605eeffb2340 (patch)
tree09f133dc86416f40e202ecb3a576af2e5928ad3d /tests/postgres_tests/test_hstore.py
parent33ea472f6924480eb8708bc6d0ac90b9f742ba68 (diff)
Name PostgreSQL correctly.
Diffstat (limited to 'tests/postgres_tests/test_hstore.py')
-rw-r--r--tests/postgres_tests/test_hstore.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py
index 50a4702716..398f444167 100644
--- a/tests/postgres_tests/test_hstore.py
+++ b/tests/postgres_tests/test_hstore.py
@@ -3,7 +3,7 @@ import json
from django.core import exceptions, serializers
from django.forms import Form
-from . import PostgresSQLTestCase
+from . import PostgreSQLTestCase
from .models import HStoreModel
try:
@@ -14,7 +14,7 @@ except ImportError:
pass
-class SimpleTests(PostgresSQLTestCase):
+class SimpleTests(PostgreSQLTestCase):
apps = ['django.contrib.postgres']
def test_save_load_success(self):
@@ -38,7 +38,7 @@ class SimpleTests(PostgresSQLTestCase):
self.assertEqual(reloaded.field, value)
-class TestQuerying(PostgresSQLTestCase):
+class TestQuerying(PostgreSQLTestCase):
def setUp(self):
self.objs = [
@@ -133,7 +133,7 @@ class TestQuerying(PostgresSQLTestCase):
)
-class TestSerialization(PostgresSQLTestCase):
+class TestSerialization(PostgreSQLTestCase):
test_data = '[{"fields": {"field": "{\\"a\\": \\"b\\"}"}, "model": "postgres_tests.hstoremodel", "pk": null}]'
def test_dumping(self):
@@ -146,7 +146,7 @@ class TestSerialization(PostgresSQLTestCase):
self.assertEqual(instance.field, {'a': 'b'})
-class TestValidation(PostgresSQLTestCase):
+class TestValidation(PostgreSQLTestCase):
def test_not_a_string(self):
field = HStoreField()
@@ -156,7 +156,7 @@ class TestValidation(PostgresSQLTestCase):
self.assertEqual(cm.exception.message % cm.exception.params, 'The value of "a" is not a string.')
-class TestFormField(PostgresSQLTestCase):
+class TestFormField(PostgreSQLTestCase):
def test_valid(self):
field = forms.HStoreField()
@@ -192,7 +192,7 @@ class TestFormField(PostgresSQLTestCase):
self.assertFalse(form_w_hstore.has_changed())
-class TestValidator(PostgresSQLTestCase):
+class TestValidator(PostgreSQLTestCase):
def test_simple_valid(self):
validator = KeysValidator(keys=['a', 'b'])