mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3.
This commit is contained in:
@@ -4,7 +4,7 @@ from time import sleep
|
||||
|
||||
from django.contrib.postgres.functions import RandomUUID, TransactionNow
|
||||
|
||||
from . import PostgreSQLTestCase
|
||||
from . import PostgreSQLTestCase, skipUnlessPG94
|
||||
from .models import NowTestModel, UUIDTestModel
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ class TestTransactionNow(PostgreSQLTestCase):
|
||||
self.assertEqual(m1.when, m2.when)
|
||||
|
||||
|
||||
@skipUnlessPG94
|
||||
class TestRandomUUID(PostgreSQLTestCase):
|
||||
|
||||
def test_random_uuid(self):
|
||||
|
||||
Reference in New Issue
Block a user