Skip to content

Commit

Permalink
[soc2009/multidb] Fixed some exceptionally weird merging that git did…
Browse files Browse the repository at this point in the history
…. Bad git.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
alex committed Aug 6, 2009
1 parent b7b5493 commit 2231e64
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/regressiontests/backends/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,6 @@ def test_dbms_session(self):
return True
else:
return True

class LongString(unittest.TestCase):

def test_long_string(self):
# If the backend is Oracle, test that we can save a text longer
# than 4000 chars and read it properly
if settings.DATABASE_ENGINE == 'oracle':
c = connection.cursor()
c.execute('CREATE TABLE ltext ("TEXT" NCLOB)')
long_str = ''.join([unicode(x) for x in xrange(4000)])
c.execute('INSERT INTO ltext VALUES (%s)',[long_str])
c.execute('SELECT text FROM ltext')
row = c.fetchone()
c.execute('DROP TABLE ltext')
self.assertEquals(long_str, row[0].read())

class LongString(unittest.TestCase):

Expand Down

0 comments on commit 2231e64

Please sign in to comment.