Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9892f4c5d58857c3fbbf45394b13c7bc0fce5161 1 parent 87a8046
@ikelly ikelly authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/multiple_database/
4 tests/regressiontests/multiple_database/
@@ -853,10 +853,10 @@ def test_raw(self):
"test the raw() method across databases"
dive = Book.objects.using('other').create(title="Dive into Python",, 5, 4))
- val = Book.objects.db_manager("other").raw('SELECT id FROM "multiple_database_book"')
+ val = Book.objects.db_manager("other").raw('SELECT id FROM multiple_database_book')
self.assertEqual(map(lambda o:, val), [])
- val = Book.objects.raw('SELECT id FROM "multiple_database_book"').using('other')
+ val = Book.objects.raw('SELECT id FROM multiple_database_book').using('other')
self.assertEqual(map(lambda o:, val), [])
def test_select_related(self):

0 comments on commit 9892f4c

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