mirror of
https://github.com/django/django.git
synced 2025-03-24 00:00:45 +00:00
Checked DateTimeTZRange/DateRange conversion in postgres_tests.
This commit is contained in:
parent
a32538279c
commit
2608799439
@ -322,6 +322,8 @@ class TestSerialization(TestCase):
|
||||
self.assertEqual(instance.ints, NumericRange(0, 10))
|
||||
self.assertEqual(instance.floats, NumericRange(empty=True))
|
||||
self.assertEqual(instance.bigints, None)
|
||||
self.assertEqual(instance.dates, DateRange(self.lower_date, self.upper_date))
|
||||
self.assertEqual(instance.timestamps, DateTimeTZRange(self.lower_dt, self.upper_dt))
|
||||
|
||||
|
||||
class TestValidators(PostgreSQLTestCase):
|
||||
|
Loading…
x
Reference in New Issue
Block a user