flake8 fix
This commit is contained in:
parent
3411af3cd1
commit
7349a22d29
|
@ -676,7 +676,7 @@ class SchemaTests(TransactionTestCase):
|
|||
editor.create_model(BookWithLongName)
|
||||
# Find the properly shortened column name
|
||||
column_name = connection.ops.quote_name("author_foreign_key_with_really_long_field_name_id")
|
||||
column_name = column_name[1:-1].lower() # unquote, and, for Oracle, un-upcase
|
||||
column_name = column_name[1:-1].lower() # unquote, and, for Oracle, un-upcase
|
||||
# Ensure the table is there and has an index on the column
|
||||
self.assertIn(
|
||||
column_name,
|
||||
|
|
Loading…
Reference in New Issue