mirror of
https://github.com/django/django.git
synced 2025-07-19 03:05:32 +00:00
Name PostgreSQL correctly.
This commit is contained in:
parent
33ea472f69
commit
00e8e514e1
7 changed files with 28 additions and 28 deletions
|
@ -8,7 +8,7 @@ from django.db import connection
|
|||
from django.test import TestCase, override_settings
|
||||
from django.utils import timezone
|
||||
|
||||
from . import PostgresSQLTestCase
|
||||
from . import PostgreSQLTestCase
|
||||
from .models import RangesModel
|
||||
|
||||
try:
|
||||
|
@ -222,7 +222,7 @@ class TestSerialization(TestCase):
|
|||
self.assertEqual(instance.dates, None)
|
||||
|
||||
|
||||
class TestValidators(PostgresSQLTestCase):
|
||||
class TestValidators(PostgreSQLTestCase):
|
||||
|
||||
def test_max(self):
|
||||
validator = RangeMaxValueValidator(5)
|
||||
|
@ -241,7 +241,7 @@ class TestValidators(PostgresSQLTestCase):
|
|||
self.assertEqual(cm.exception.code, 'min_value')
|
||||
|
||||
|
||||
class TestFormField(PostgresSQLTestCase):
|
||||
class TestFormField(PostgreSQLTestCase):
|
||||
|
||||
def test_valid_integer(self):
|
||||
field = pg_forms.IntegerRangeField()
|
||||
|
@ -508,7 +508,7 @@ class TestFormField(PostgresSQLTestCase):
|
|||
self.assertIsInstance(form_field, pg_forms.DateTimeRangeField)
|
||||
|
||||
|
||||
class TestWidget(PostgresSQLTestCase):
|
||||
class TestWidget(PostgreSQLTestCase):
|
||||
def test_range_widget(self):
|
||||
f = pg_forms.ranges.DateTimeRangeField()
|
||||
self.assertHTMLEqual(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue