Skip another test if sqlparse is not available

Refs #23426
This commit is contained in:
Collin Anderson 2014-10-09 11:04:10 -04:00 committed by Tim Graham
parent bf1bb07bf0
commit d6a87eefd8
1 changed files with 1 additions and 0 deletions

View File

@ -1195,6 +1195,7 @@ class OperationTests(OperationTestBase):
operation.database_backwards("test_runsql", editor, new_state, project_state)
self.assertTableNotExists("i_love_ponies")
@unittest.skipIf(sqlparse is None and connection.features.requires_sqlparse_for_splitting, "Missing sqlparse")
def test_run_sql_params(self):
"""
#23426 - RunSQL should accept parameters.