class documentation

class AssertsExecutionResults(object):

Known subclasses: sqlalchemy.testing.fixtures.MappedTest, sqlalchemy.testing.suite.test_results.ServerSideCursorsTest

View In Hierarchy

Undocumented

Method assert​_execution Undocumented
Method assert​_list Undocumented
Method assert​_multiple​_sql​_count Undocumented
Method assert​_result Undocumented
Method assert​_row Undocumented
Method assert​_sql Undocumented
Method assert​_sql​_count Undocumented
Method assert​_sql​_execution Undocumented
Method assert​_statement​_count Undocumented
Method assert​_unordered​_result As assert_result, but the order of objects is not considered.
Method sql​_execution​_asserter Undocumented
@contextlib.contextmanager
def assert_execution(self, db, *rules):

Undocumented

def assert_list(self, result, class_, list_):

Undocumented

def assert_multiple_sql_count(self, dbs, callable_, counts):

Undocumented

def assert_result(self, result, class_, *objects):

Undocumented

def assert_row(self, class_, rowobj, desc):

Undocumented

def assert_sql(self, db, callable_, rules):

Undocumented

def assert_sql_count(self, db, callable_, count):

Undocumented

def assert_sql_execution(self, db, callable_, *rules):

Undocumented

def assert_statement_count(self, db, count):

Undocumented

def assert_unordered_result(self, result, cls, *expected):

As assert_result, but the order of objects is not considered.

The algorithm is very expensive but not a big deal for the small numbers of rows that the test suite manipulates.

def sql_execution_asserter(self, db=None):

Undocumented