Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed an Oracle test failure introduced in [12226].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fb5f8d7b14c6613dcfa600da11ea499c8551ba11 1 parent b3e1162
Ian Kelly authored January 19, 2010

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  tests/modeltests/model_package/tests.py
6  tests/modeltests/model_package/tests.py
@@ -66,8 +66,10 @@ class Meta:
66 66
 >>> Article.publications.through._meta.fields[2].get_attname_column()
67 67
 ('publication_id', 'publication_id')
68 68
 
69  
->>> Article._meta.get_field('publications').m2m_db_table()
70  
-'model_package_article_publications'
  69
+# The oracle backend truncates the name to 'model_package_article_publ233f'.
  70
+>>> Article._meta.get_field('publications').m2m_db_table() \\
  71
+... in ('model_package_article_publications', 'model_package_article_publ233f')
  72
+True
71 73
 
72 74
 >>> Article._meta.get_field('publications').m2m_column_name()
73 75
 'article_id'

0 notes on commit fb5f8d7

Please sign in to comment.
Something went wrong with that request. Please try again.