0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

limit test to postgresql

This commit is contained in:
Ben Cail 2024-11-04 13:35:04 -05:00
parent 53a8b33cb7
commit 06110ece6e

View File

@ -1,4 +1,5 @@
import math
import unittest
from decimal import Decimal
from django.core.exceptions import FieldDoesNotExist
@ -6214,6 +6215,7 @@ class OperationTests(OperationTestBase):
class PrimaryKeyOperations(OperationTestBase):
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific")
def test_slugfields_change_primary_key_operations(self):
# Create a model with two fields
operation1 = migrations.CreateModel(