class documentation

class JSONTest(_LiteralRoundTripFixture, fixtures.TablesTest):

View In Hierarchy

Undocumented

Class Method define​_tables Undocumented
Method ​_index​_fixtures Undocumented
Method ​_json​_value​_insert Undocumented
Method ​_test​_round​_trip Undocumented
Method test​_eval​_none​_flag​_orm Undocumented
Method test​_index​_typed​_access Undocumented
Method test​_index​_typed​_comparison Undocumented
Method test​_path​_typed​_comparison Undocumented
Method test​_round​_trip​_custom​_json Undocumented
Method test​_round​_trip​_data1 Undocumented
Method test​_round​_trip​_json​_null​_as​_json​_null Undocumented
Method test​_round​_trip​_none​_as​_json​_null Undocumented
Method test​_round​_trip​_none​_as​_sql​_null Undocumented
Method test​_single​_element​_round​_trip Undocumented
Method test​_unicode​_round​_trip Undocumented
Class Variable __backend__ Undocumented
Class Variable __requires__ Undocumented

Inherited from _LiteralRoundTripFixture:

Method literal​_round​_trip test literal rendering
Class Variable supports​_whereclause 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​_deletes 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 __skip​_if__ Undocumented
Class Variable __unsupported​_on__ Undocumented
@classmethod
def define_tables(cls, metadata):
def _index_fixtures(include_comparison):

Undocumented

def _json_value_insert(self, connection, datatype, value, data_element):

Undocumented

def _test_round_trip(self, data_element, connection):

Undocumented

def test_eval_none_flag_orm(self, connection):

Undocumented

@_index_fixtures(False)
@testing.emits_warning('.*does \\*not\\* support Decimal objects natively')
def test_index_typed_access(self, datatype, value):

Undocumented

@_index_fixtures(True)
@testing.emits_warning('.*does \\*not\\* support Decimal objects natively')
def test_index_typed_comparison(self, datatype, value):

Undocumented

@_index_fixtures(True)
@testing.emits_warning('.*does \\*not\\* support Decimal objects natively')
def test_path_typed_comparison(self, datatype, value):

Undocumented

def test_round_trip_custom_json(self):

Undocumented

def test_round_trip_data1(self, connection):

Undocumented

def test_round_trip_json_null_as_json_null(self, connection):

Undocumented

@testing.combinations(('parameters'), ('multiparameters'), ('values'), argnames='insert_type')
def test_round_trip_none_as_json_null(self, connection, insert_type):

Undocumented

@testing.combinations(('parameters'), ('multiparameters'), ('values'), ('omit'), argnames='insert_type')
def test_round_trip_none_as_sql_null(self, connection, insert_type):

Undocumented

@testing.combinations((True), (False), (None), (15), (0), (-1), (-1.0), (15.052), ('a string'), (util.u('réve illé')), (util.u('réve🐍 illé')))
def test_single_element_round_trip(self, element):

Undocumented

def test_unicode_round_trip(self):

Undocumented

__backend__: bool =

Undocumented

__requires__: tuple[str, ...] =