From d6a87eefd87250e68457488cfd62fb2cc8211b24 Mon Sep 17 00:00:00 2001 From: Collin Anderson Date: Thu, 9 Oct 2014 11:04:10 -0400 Subject: [PATCH] Skip another test if sqlparse is not available Refs #23426 --- tests/migrations/test_operations.py | 1 + 1 file changed, 1 insertion(+) 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.