Skipped a test on Oracle
This commit is contained in:
parent
ce094e570e
commit
88c726bea0
|
@ -1,6 +1,6 @@
|
|||
from django.db.models import Q
|
||||
from django.db.utils import IntegrityError
|
||||
from django.test import TestCase
|
||||
from django.test import TestCase, skipIfDBFeature
|
||||
|
||||
from .models import (Address, Place, Restaurant, Link, CharLink, TextLink,
|
||||
Person, Contact, Note, Organization, OddRelation1, OddRelation2, Company,
|
||||
|
@ -127,6 +127,7 @@ class GenericRelationTests(TestCase):
|
|||
note = Note(note='Note for guild', content_object=g1)
|
||||
note.save()
|
||||
|
||||
@skipIfDBFeature('interprets_empty_strings_as_nulls')
|
||||
def test_gfk_to_model_with_empty_pk(self):
|
||||
"""Test related to #13085"""
|
||||
# Saving model with GenericForeignKey to model instance with an
|
||||
|
|
Loading…
Reference in New Issue