class documentation

class ServerSideCursorsTest(fixtures.TestBase, testing.AssertsExecutionResults):

View In Hierarchy

Undocumented

Method ​_fixture Undocumented
Method ​_is​_server​_side Undocumented
Method test​_aliases​_and​_ss Undocumented
Method test​_conn​_option Undocumented
Method test​_roundtrip​_fetchall Undocumented
Method test​_roundtrip​_fetchmany Undocumented
Method test​_ss​_cursor​_status Undocumented
Method test​_stmt​_enabled​_conn​_option​_disabled Undocumented
Class Variable __backend__ Undocumented
Class Variable __requires__ Undocumented
Instance Variable engine Undocumented

Inherited from TestBase:

Method assert​_ Undocumented
Method async​_testing​_engine Undocumented
Method connection Undocumented
Method connection​_no​_trans Undocumented
Method future​_connection Undocumented
Method future​_engine Undocumented
Method metadata Provide bound MetaData for a single test, dropping afterwards.
Method registry Undocumented
Method testing​_engine Undocumented
Method trans​_ctx​_manager​_fixture Undocumented
Class Variable __leave​_connections​_for​_teardown__ Undocumented
Class Variable __only​_on__ Undocumented
Class Variable __skip​_if__ Undocumented
Class Variable __unsupported​_on__ Undocumented

Inherited from AssertsExecutionResults:

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
def _fixture(self, server_side_cursors):

Undocumented

def _is_server_side(self, cursor):

Undocumented

def test_aliases_and_ss(self):

Undocumented

def test_conn_option(self):

Undocumented

def test_roundtrip_fetchall(self, metadata):

Undocumented

def test_roundtrip_fetchmany(self, metadata):

Undocumented

@testing.combinations(('global_string', True, 'select 1', True), ('global_text', True, text('select 1'), True), ('global_expr', True, select(1), True), ('global_off_explicit', False, text('select 1'), False), ('stmt_option', False, select(1).execution_options(stream_results=True), True), ('stmt_option_disabled', True, select(1).execution_options(stream_results=False), False), ('for_update_expr', True, select(1).with_for_update(), True), ('for_update_string', True, 'SELECT 1 FOR UPDATE', True, testing.skip_if('sqlite')), ('text_no_ss', False, text('select 42'), False), ('text_ss_option', False, text('select 42').execution_options(stream_results=True), True), id_='iaaa', argnames='engine_ss_arg, statement, cursor_ss_status')
def test_ss_cursor_status(self, engine_ss_arg, statement, cursor_ss_status):

Undocumented

def test_stmt_enabled_conn_option_disabled(self):

Undocumented

__backend__: bool =

Undocumented

__requires__: tuple[str, ...] =
engine =

Undocumented