@contextlib.contextmanager
def assert_execution(self, db, *rules):
    with self.sql_execution_asserter(db) as asserter:
        (yield)
    asserter.assert_(*rules)
@contextlib.contextmanager
def assert_execution(self, db, *rules):
    with self.sql_execution_asserter(db) as asserter:
        (yield)
    asserter.assert_(*rules)