@skipUnlessDBFeature('requires_rollback_on_dirty_transaction')
    def test_bad_sql(self):
        with self.assertRaises(IntegrityError):
            with transaction.commit_on_success():
                cursor = connection.cursor()
                cursor.execute("INSERT INTO transactions_reporter (first_name, last_name) VALUES ('Douglas', 'Adams');")
        transaction.rollback()
Initialize object either from parameters specified or
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/transactions/tests.py/TransactionContextManagerTests.test_bad_sql--crossover with--dataset/ETHPy150Open resync/resync/resync/resource.py/Resource.__init__