Lines Matching defs:self
59 def test_api_level(self): argument
63 def test_thread_safety(self): argument
68 def test_param_style(self): argument
73 def test_warning(self): argument
77 def test_error(self): argument
81 def test_interface_error(self): argument
85 def test_database_error(self): argument
89 def test_data_error(self): argument
93 def test_operational_error(self): argument
97 def test_integrity_error(self): argument
101 def test_internal_error(self): argument
105 def test_programming_error(self): argument
109 def test_not_supported_error(self): argument
114 def test_module_constants(self): argument
308 def test_error_code_on_exception(self): argument
324 def test_extended_error_code_on_exception(self): argument
339 def test_shared_cache_deprecated(self): argument
345 def test_disallow_instantiation(self): argument
350 def test_complete_statement(self): argument
357 def setUp(self): argument
363 def tearDown(self): argument
366 def test_commit(self): argument
369 def test_commit_after_no_changes(self): argument
376 def test_rollback(self): argument
379 def test_rollback_after_no_changes(self): argument
386 def test_cursor(self): argument
389 def test_failed_open(self): argument
394 def test_close(self): argument
397 def test_use_after_close(self): argument
417 def test_exceptions(self): argument
430 def test_in_transaction(self): argument
448 def test_in_transaction_ro(self): argument
452 def test_connection_exceptions(self): argument
469 def test_interrupt_on_closed_db(self): argument
475 def test_interrupt(self): argument
478 def test_drop_unused_refs(self): argument
483 def test_connection_limits(self): argument
497 def test_connection_bad_limit_category(self): argument
505 def test_connection_init_bad_isolation_level(self): argument
530 def test_connection_init_good_isolation_levels(self): argument
540 def test_connection_reinit(self): argument
565 def test_connection_bad_reinit(self): argument
580 def setUp(self): argument
583 def test_uninit_operations(self): argument
602 def test_serialize_deserialize(self): argument
619 def test_deserialize_wrong_args(self): argument
631 def test_deserialize_corrupt_database(self): argument
642 def test_deserialize_too_much_data_64bit(self): argument
651 def test_open_with_path_like_object(self): argument
665 def test_open_with_undecodable_path(self): argument
673 def test_open_uri(self): argument
682 def test_open_unquoted_uri(self): argument
691 def test_open_uri_readonly(self): argument
711 def test_open_undecodable_uri(self): argument
720 def test_factory_database_arg(self): argument
732 def test_database_keyword(self): argument
738 def setUp(self): argument
747 def tearDown(self): argument
751 def test_execute_no_args(self): argument
754 def test_execute_illegal_sql(self): argument
758 def test_execute_multiple_statements(self): argument
780 def test_execute_with_appended_comments(self): argument
797 def test_execute_wrong_sql_arg(self): argument
801 def test_execute_arg_int(self): argument
804 def test_execute_arg_float(self): argument
807 def test_execute_arg_string(self): argument
810 def test_execute_arg_string_with_zero_byte(self): argument
817 def test_execute_non_iterable(self): argument
822 def test_execute_wrong_no_of_args1(self): argument
827 def test_execute_wrong_no_of_args2(self): argument
832 def test_execute_wrong_no_of_args3(self): argument
837 def test_execute_param_list(self): argument
843 def test_execute_param_sequence(self): argument
845 def __len__(self): argument
847 def __getitem__(self, x): argument
856 def test_execute_param_sequence_bad_len(self): argument
859 def __len__(self): argument
868 def test_execute_too_many_params(self): argument
877 def test_execute_dict_mapping(self): argument
883 def test_execute_dict_mapping_mapping(self): argument
885 def __missing__(self, key): argument
893 def test_execute_dict_mapping_too_little_args(self): argument
898 def test_execute_dict_mapping_no_args(self): argument
903 def test_execute_dict_mapping_unnamed(self): argument
908 def test_close(self): argument
911 def test_rowcount_execute(self): argument
918 def test_rowcount_select(self): argument
927 def test_rowcount_executemany(self): argument
934 def test_rowcount_update_returning(self): argument
940 def test_rowcount_prefixed_with_comment(self): argument
956 def test_rowcount_vaccuum(self): argument
964 def test_total_changes(self): argument
973 def test_execute_many_sequence(self): argument
976 def test_execute_many_iterator(self): argument
978 def __init__(self): argument
981 def __iter__(self): argument
984 def __next__(self): argument
993 def test_execute_many_generator(self): argument
1000 def test_execute_many_wrong_sql_arg(self): argument
1004 def test_execute_many_select(self): argument
1008 def test_execute_many_not_iterable(self): argument
1012 def test_fetch_iter(self): argument
1024 def test_fetchone(self): argument
1031 def test_fetchone_no_statement(self): argument
1036 def test_array_size(self): argument
1053 def test_fetchmany(self): argument
1060 def test_fetchmany_kw_arg(self): argument
1066 def test_fetchall(self): argument
1073 def test_setinputsizes(self): argument
1076 def test_setoutputsize(self): argument
1079 def test_setoutputsize_no_column(self): argument
1082 def test_cursor_connection(self): argument
1086 def test_wrong_cursor_callable(self): argument
1091 def test_cursor_wrong_class(self): argument
1097 def test_last_row_id_on_replace(self): argument
1107 def test_last_row_id_on_ignore(self): argument
1117 def test_last_row_id_insert_o_r(self): argument
1134 def test_column_count(self): argument
1145 def test_same_query_in_multiple_cursors(self): argument
1152 def setUp(self): argument
1159 def tearDown(self): argument
1163 def test_blob_is_a_blob(self): argument
1166 def test_blob_seek_and_tell(self): argument
1179 def test_blob_seek_error(self): argument
1201 def test_blob_read(self): argument
1205 def test_blob_read_oversized(self): argument
1209 def test_blob_read_advance_offset(self): argument
1215 def test_blob_read_at_offset(self): argument
1219 def test_blob_read_error_row_changed(self): argument
1224 def test_blob_write(self): argument
1230 def test_blob_write_at_offset(self): argument
1237 def test_blob_write_advance_offset(self): argument
1241 def test_blob_write_error_length(self): argument
1252 def test_blob_write_error_row_changed(self): argument
1257 def test_blob_write_error_readonly(self): argument
1263 def test_blob_open_error(self): argument
1276 def test_blob_length(self): argument
1279 def test_blob_get_item(self): argument
1286 def test_blob_set_item(self): argument
1292 def test_blob_set_item_with_offset(self): argument
1301 def test_blob_set_slice_buffer_object(self): argument
1312 def test_blob_set_item_negative_index(self): argument
1316 def test_blob_get_slice(self): argument
1319 def test_blob_get_empty_slice(self): argument
1322 def test_blob_get_slice_negative_index(self): argument
1325 def test_blob_get_slice_with_skip(self): argument
1328 def test_blob_set_slice(self): argument
1334 def test_blob_set_empty_slice(self): argument
1338 def test_blob_set_slice_with_skip(self): argument
1344 def test_blob_mapping_invalid_index_type(self): argument
1353 def test_blob_get_item_error(self): argument
1367 def test_blob_set_item_error(self): argument
1386 def test_blob_set_slice_error(self): argument
1398 def test_blob_sequence_not_supported(self): argument
1406 def test_blob_context_manager(self): argument
1417 def test_blob_context_manager_reraise_exceptions(self): argument
1425 def test_blob_closed(self): argument
1454 def test_blob_closed_db_read(self): argument
1464 def test_blob_32bit_rowid(self): argument
1475 def setUp(self): argument
1481 def tearDown(self): argument
1486 def _run_test(self, fn, *args, **kwds): argument
1503 def test_check_connection_thread(self): argument
1526 def test_check_cursor_thread(self): argument
1539 def test_dont_check_same_thread(self): argument
1555 def test_date(self): argument
1558 def test_time(self): argument
1561 def test_timestamp(self): argument
1564 def test_date_from_ticks(self): argument
1567 def test_time_from_ticks(self): argument
1570 def test_timestamp_from_ticks(self): argument
1573 def test_binary(self): argument
1577 def test_script_string_sql(self): argument
1590 def test_script_syntax_error(self): argument
1596 def test_script_error_normal(self): argument
1602 def test_cursor_executescript_as_bytes(self): argument
1608 def test_cursor_executescript_with_null_characters(self): argument
1617 def test_cursor_executescript_with_surrogates(self): argument
1626 def test_cursor_executescript_too_large_script(self): argument
1633 def test_cursor_executescript_tx_control(self): argument
1640 def test_connection_execute(self): argument
1645 def test_connection_executemany(self): argument
1653 def test_connection_executescript(self): argument
1660 def test_closed_con_cursor(self): argument
1666 def test_closed_con_commit(self): argument
1672 def test_closed_con_rollback(self): argument
1678 def test_closed_cur_execute(self): argument
1685 def test_closed_create_function(self): argument
1692 def test_closed_create_aggregate(self): argument
1696 def __init__(self): argument
1698 def step(self, x): argument
1700 def finalize(self): argument
1705 def test_closed_set_authorizer(self): argument
1713 def test_closed_set_progress_callback(self): argument
1720 def test_closed_call(self): argument
1727 def test_closed(self): argument
1752 def setUp(self): argument
1761 def tearDown(self): argument
1765 def test_on_conflict_rollback_with_explicit_transaction(self): argument
1780 def test_on_conflict_abort_raises_with_explicit_transactions(self): argument
1796 def test_on_conflict_rollback_without_transaction(self): argument
1806 def test_on_conflict_abort_raises_without_transactions(self): argument
1817 def test_on_conflict_fail(self): argument
1823 def test_on_conflict_ignore(self): argument
1830 def test_on_conflict_replace(self): argument
1842 def tearDown(self): argument
1845 def test_ctx_mgr_rollback_if_commit_failed(self): argument