summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Anderson <cmawebsite@gmail.com>2014-10-09 11:04:10 -0400
committerTim Graham <timograham@gmail.com>2014-10-09 11:54:42 -0400
commitd6a87eefd87250e68457488cfd62fb2cc8211b24 (patch)
tree2d184462615767d732757dbfd67254276b696856
parentbf1bb07bf02b207f59e7d07243fff367236014d3 (diff)
Skip another test if sqlparse is not available
Refs #23426
-rw-r--r--tests/migrations/test_operations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py
index 4f885b407e..8fb708dc3d 100644
--- a/tests/migrations/test_operations.py
+++ b/tests/migrations/test_operations.py
@@ -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.