From fb5f8d7b14c6613dcfa600da11ea499c8551ba11 Mon Sep 17 00:00:00 2001 From: Ian Kelly Date: Tue, 19 Jan 2010 18:09:03 +0000 Subject: [PATCH] Fixed an Oracle test failure introduced in [12226]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12264 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/model_package/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/modeltests/model_package/tests.py b/tests/modeltests/model_package/tests.py index 7d2a063cc9..cf1785f708 100644 --- a/tests/modeltests/model_package/tests.py +++ b/tests/modeltests/model_package/tests.py @@ -66,8 +66,10 @@ __test__ = {'API_TESTS': """ >>> Article.publications.through._meta.fields[2].get_attname_column() ('publication_id', 'publication_id') ->>> Article._meta.get_field('publications').m2m_db_table() -'model_package_article_publications' +# The oracle backend truncates the name to 'model_package_article_publ233f'. +>>> Article._meta.get_field('publications').m2m_db_table() \\ +... in ('model_package_article_publications', 'model_package_article_publ233f') +True >>> Article._meta.get_field('publications').m2m_column_name() 'article_id'