(self, queries, **kwargs)
| 79 | self.new_connection.set_autocommit(True) |
| 80 | |
| 81 | def has_for_update_sql(self, queries, **kwargs): |
| 82 | # Examine the SQL that was executed to determine whether it |
| 83 | # contains the 'SELECT..FOR UPDATE' stanza. |
| 84 | for_update_sql = connection.ops.for_update_sql(**kwargs) |
| 85 | return any(for_update_sql in query["sql"] for query in queries) |
| 86 | |
| 87 | @skipUnlessDBFeature("has_select_for_update") |
| 88 | def test_for_update_sql_generated(self): |
no test coverage detected