mirror of
https://github.com/django/django.git
synced 2025-01-08 17:37:20 +00:00
limit test to postgresql
This commit is contained in:
parent
53a8b33cb7
commit
06110ece6e
@ -1,4 +1,5 @@
|
|||||||
import math
|
import math
|
||||||
|
import unittest
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from django.core.exceptions import FieldDoesNotExist
|
from django.core.exceptions import FieldDoesNotExist
|
||||||
@ -6214,6 +6215,7 @@ class OperationTests(OperationTestBase):
|
|||||||
|
|
||||||
|
|
||||||
class PrimaryKeyOperations(OperationTestBase):
|
class PrimaryKeyOperations(OperationTestBase):
|
||||||
|
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific")
|
||||||
def test_slugfields_change_primary_key_operations(self):
|
def test_slugfields_change_primary_key_operations(self):
|
||||||
# Create a model with two fields
|
# Create a model with two fields
|
||||||
operation1 = migrations.CreateModel(
|
operation1 = migrations.CreateModel(
|
||||||
|
Loading…
Reference in New Issue
Block a user