class documentation

class ComponentReflectionTestExtra(ComparesIndexes, fixtures.TestBase): (source)

View In Hierarchy

Undocumented

Method test_get_check_constraints Undocumented
Method test_get_foreign_key_options Undocumented
Method test_nullable_reflection Undocumented
Method test_numeric_reflection Undocumented
Method test_reflect_covering_index Undocumented
Method test_reflect_expression_based_indexes Undocumented
Method test_varchar_reflection Undocumented
Class Variable __backend__ Undocumented
Method _type_round_trip Undocumented

Inherited from TestBase:

Method assert_ Undocumented
Method async_testing_engine Undocumented
Method close_result_when_finished Undocumented
Method connection Undocumented
Method connection_no_trans Undocumented
Method dc_decl_base Undocumented
Method decl_base Undocumented
Method fixture_session Undocumented
Method future_connection Undocumented
Method future_engine Undocumented
Method metadata Provide bound MetaData for a single test, dropping afterwards.
Method nocache Undocumented
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
@testing.combinations((True, testing.requires.schemas), (False), argnames='use_schema')
@testing.requires.check_constraint_reflection
def test_get_check_constraints(self, metadata, connection, use_schema): (source)

Undocumented

@testing.combinations((None, 'CASCADE', None, testing.requires.foreign_key_constraint_option_reflection_ondelete), (None, None, 'SET NULL', testing.requires.foreign_key_constraint_option_reflection_onupdate), ({}, None, 'NO ACTION', testing.requires.foreign_key_constraint_option_reflection_onupdate), ({}, 'NO ACTION', None, testing.requires.fk_constraint_option_reflection_ondelete_noaction), (None, None, 'RESTRICT', testing.requires.fk_constraint_option_reflection_onupdate_restrict), (None, 'RESTRICT', None, testing.requires.fk_constraint_option_reflection_ondelete_restrict), argnames='expected,ondelete,onupdate')
def test_get_foreign_key_options(self, connection, metadata, expected, ondelete, onupdate): (source)

Undocumented

@testing.requires.table_reflection
def test_nullable_reflection(self, connection, metadata): (source)

Undocumented

@testing.requires.table_reflection
def test_numeric_reflection(self, connection, metadata): (source)

Undocumented

@testing.requires.index_reflects_included_columns
def test_reflect_covering_index(self, metadata, connection): (source)

Undocumented

@testing.requires.indexes_with_expressions
def test_reflect_expression_based_indexes(self, metadata, connection): (source)

Undocumented

@testing.requires.table_reflection
def test_varchar_reflection(self, connection, metadata): (source)

Undocumented

__backend__: bool = (source)

Undocumented

def _type_round_trip(self, connection, metadata, *types): (source)

Undocumented