1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00: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(