Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.7.x] Fixed an Oracle test failure introduced by 1e40418.

Backport of e98c551 from master
  • Loading branch information...
commit f201cfae12961c60d293201add0c09a4e3024533 1 parent 8f033ee
@charettes charettes authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 tests/commands_sql/tests.py
View
6 tests/commands_sql/tests.py
@@ -28,11 +28,13 @@ def test_sql_create(self):
for statement in output:
create_table = create_table_re.match(statement)
if create_table:
- tables.add(create_table.group('table'))
+ # Lower since Oracle's table names are upper cased.
+ tables.add(create_table.group('table').lower())
continue
reference = reference_re.match(statement)
if reference:
- table = reference.group('table')
+ # Lower since Oracle's table names are upper cased.
+ table = reference.group('table').lower()
self.assertIn(
table, tables, "The table %s is referenced before its creation." % table
)

0 comments on commit f201cfa

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