class documentation

class ExceptionTest(fixtures.TablesTest):

View In Hierarchy

Test basic exception wrapping.

DBAPIs vary a lot in exception behavior so to actually anticipate specific exceptions from real round trips, we need to be conservative.

Class Method define​_tables Undocumented
Method test​_exception​_with​_non​_ascii Undocumented
Method test​_integrity​_error Undocumented
Class Variable __backend__ Undocumented
Class Variable run​_deletes Undocumented

Inherited from TablesTest:

Class Method dispose​_bind Undocumented
Class Method fixtures Undocumented
Class Method insert​_data Undocumented
Class Method setup​_bind Undocumented
Class Method ​_init​_class Undocumented
Class Method ​_load​_fixtures Insert rows as represented by the fixtures() method.
Class Method ​_setup​_once​_inserts Undocumented
Class Method ​_setup​_once​_tables Undocumented
Class Method ​_teardown​_once​_metadata​_bind Undocumented
Method ​_setup​_each​_inserts Undocumented
Method ​_setup​_each​_tables Undocumented
Method ​_setup​_tables​_test​_class Undocumented
Method ​_setup​_tables​_test​_instance Undocumented
Method ​_teardown​_each​_tables Undocumented
Method sql​_count​_ Undocumented
Method sql​_eq​_ Undocumented
Class Variable ​_tables​_metadata Undocumented
Class Variable bind Undocumented
Class Variable other Undocumented
Class Variable run​_create​_tables Undocumented
Class Variable run​_define​_tables Undocumented
Class Variable run​_dispose​_bind Undocumented
Class Variable run​_inserts Undocumented
Class Variable run​_setup​_bind Undocumented
Class Variable sequences Undocumented
Class Variable tables Undocumented
Property tables​_test​_metadata Undocumented

Inherited from TestBase (via TablesTest):

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 __requires__ Undocumented
Class Variable __skip​_if__ Undocumented
Class Variable __unsupported​_on__ Undocumented
@classmethod
def define_tables(cls, metadata):
def test_exception_with_non_ascii(self):

Undocumented

@requirements.duplicate_key_raises_integrity_error
def test_integrity_error(self):

Undocumented

__backend__: bool =

Undocumented

run_deletes: str =