From a86dde20f05cb85bb2d69c483d084e6c217792cc Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 23 Aug 2011 06:28:45 +0000 Subject: [PATCH] Fixed a broken test from r16656. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16667 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/queries/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index bb8099f60d..3238f61d3e 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -319,13 +319,13 @@ class ObjectC(models.Model): return self.name class SimpleCategory(models.Model): - name = models.CharField(max_length=10) + name = models.CharField(max_length=15) def __unicode__(self): return self.name class SpecialCategory(SimpleCategory): - special_name = models.CharField(max_length=10) + special_name = models.CharField(max_length=15) def __unicode__(self): return self.name + " " + self.special_name @@ -337,9 +337,9 @@ class CategoryItem(models.Model): return "category item: " + str(self.category) class OneToOneCategory(models.Model): - new_name = models.CharField(max_length=10) + new_name = models.CharField(max_length=15) category = models.OneToOneField(SimpleCategory) def __unicode__(self): return "one2one " + self.new_name - \ No newline at end of file +