def assert_sql_execution(self, db, callable_, *rules):
    with self.sql_execution_asserter(db) as asserter:
        result = callable_()
    asserter.assert_(*rules)
    return result
def assert_sql_execution(self, db, callable_, *rules):
    with self.sql_execution_asserter(db) as asserter:
        result = callable_()
    asserter.assert_(*rules)
    return result