From 88c726bea0436a404c751cb497e7981b68e74383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anssi=20K=C3=A4=C3=A4ri=C3=A4inen?= Date: Fri, 22 Feb 2013 20:59:11 +0200 Subject: [PATCH] Skipped a test on Oracle --- tests/regressiontests/generic_relations_regress/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/regressiontests/generic_relations_regress/tests.py b/tests/regressiontests/generic_relations_regress/tests.py index d62ff0c36a..474113584a 100644 --- a/tests/regressiontests/generic_relations_regress/tests.py +++ b/tests/regressiontests/generic_relations_regress/tests.py @@ -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