Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a multiple_database test case that was failing in Oracle due to…

… forced table name capitalization. The test case now matches the style used by the raw_query tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9892f4c5d58857c3fbbf45394b13c7bc0fce5161 1 parent 87a8046
Ian Kelly authored November 12, 2010
4  tests/regressiontests/multiple_database/tests.py
@@ -853,10 +853,10 @@ def test_raw(self):
853 853
         "test the raw() method across databases"
854 854
         dive = Book.objects.using('other').create(title="Dive into Python",
855 855
             published=datetime.date(2009, 5, 4))
856  
-        val = Book.objects.db_manager("other").raw('SELECT id FROM "multiple_database_book"')
  856
+        val = Book.objects.db_manager("other").raw('SELECT id FROM multiple_database_book')
857 857
         self.assertEqual(map(lambda o: o.pk, val), [dive.pk])
858 858
 
859  
-        val = Book.objects.raw('SELECT id FROM "multiple_database_book"').using('other')
  859
+        val = Book.objects.raw('SELECT id FROM multiple_database_book').using('other')
860 860
         self.assertEqual(map(lambda o: o.pk, val), [dive.pk])
861 861
 
862 862
     def test_select_related(self):

0 notes on commit 9892f4c

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