0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Skipped a test on Oracle

This commit is contained in:
Anssi Kääriäinen 2013-02-22 20:59:11 +02:00
parent ce094e570e
commit 88c726bea0

View File

@ -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