sqlite-utils/tests
Simon Willison 61aaa69815 .transform(..., keep_table=name) parameter, closes #571
Also type hints for the transform_sql() method
2023-07-22 15:32:09 -07:00
..
sniff sqlite-utils insert --sniff option, closes #230 2021-02-14 11:23:12 -08:00
__init__.py Initial project layout + database table creation tools 2018-07-28 06:46:17 -07:00
conftest.py Added pluggy and first hook, register_commands - refs #569, #567 2023-07-22 12:04:31 -07:00
ext.c Support entrypoints for --load-extension (#473) 2022-08-26 22:55:47 -07:00
test_analyze.py Use sqlean if available in environment (#560) 2023-06-25 16:25:51 -07:00
test_analyze_tables.py Use sqlean if available in environment (#560) 2023-06-25 16:25:51 -07:00
test_attach.py db.attach(alias, filepath) method, closes #113 2021-02-18 20:56:32 -08:00
test_cli.py sqlite-utils rename-table command, refs #565 2023-07-22 12:48:04 -07:00
test_cli_bulk.py bulk --functions, closes #471 2022-08-26 22:10:43 -07:00
test_cli_convert.py --no-skip-false option, plus docs - closes #527 2023-05-08 14:03:20 -07:00
test_cli_insert.py --empty-null option for CSV and TSV imports, closes #563 2023-07-02 22:42:26 -07:00
test_cli_memory.py Use sqlean if available in environment (#560) 2023-06-25 16:25:51 -07:00
test_column_affinity.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_constructor.py db.close() method, closes #504 2022-10-25 13:57:43 -07:00
test_conversions.py Now complies with flake8, refs #291 2021-06-22 18:22:08 -07:00
test_convert.py Applied Black, refs #526, #525 2023-05-08 14:54:24 -07:00
test_create.py db.rename_table() method, refs #565 2023-07-22 12:38:31 -07:00
test_create_view.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_default_value.py Transform no longer breaks non-string default values 2023-05-08 14:13:36 -07:00
test_delete.py delete_where(analyze=True), closes #378 2022-01-10 17:08:05 -08:00
test_docs.py Added pluggy and first hook, register_commands - refs #569, #567 2023-07-22 12:04:31 -07:00
test_duplicate.py sqlite-utils duplicate command, closes #454, refs #449 2022-07-15 14:45:47 -07:00
test_enable_counts.py table.count_where() method, closes #305 2021-08-01 22:08:17 -07:00
test_extract.py test_extract_works_with_null_values, refs #423, #455 2022-08-27 20:38:37 -07:00
test_extracts.py Now complies with flake8, refs #291 2021-06-22 18:22:08 -07:00
test_fts.py table.search_sql(include_rank=True) option (#480) 2022-08-30 20:40:35 -07:00
test_get.py Refactored tests into new test_rows.py, refs #76 2020-04-15 18:04:55 -07:00
test_gis.py Use sqlean if available in environment (#560) 2023-06-25 16:25:51 -07:00
test_hypothesis.py Now complies with flake8, refs #291 2021-06-22 18:22:08 -07:00
test_insert_files.py stem and suffix columns for insert-files, closes #372 2022-01-09 12:16:52 -08:00
test_introspect.py table.default_values property, closes #475 2022-08-27 15:42:58 -07:00
test_lookup.py Extra parameters for .lookup(), passed to .insert() - closes #342 2021-11-18 23:26:50 -08:00
test_m2m.py table.m2m(..., alter=True) option, closes #222 2021-01-17 20:26:02 -08:00
test_plugins.py Added pluggy and first hook, register_commands - refs #569, #567 2023-07-22 12:04:31 -07:00
test_query.py Tests for db.query() method, refs #290 2021-06-22 10:43:49 -07:00
test_recipes.py errors=r.SET_NULL/r.IGNORE options for parsedate/parsedatetime, closes #416 2022-03-20 21:01:35 -07:00
test_recreate.py Use new db.close() method, refs #504 2022-10-25 14:00:53 -07:00
test_register_function.py Removed FunctionAlreadyRegistered error, refs #526, #525 2023-05-08 14:58:28 -07:00
test_rows.py Now complies with flake8, refs #291 2021-06-22 18:22:08 -07:00
test_rows_from_file.py Better error message if rows_from_file called with StringIO, closes #520 2023-05-08 15:08:02 -07:00
test_sniff.py sqlite-utils insert --sniff option, closes #230 2021-02-14 11:23:12 -08:00
test_suggest_column_types.py Fixed bug with null columns, closes #95 2020-03-23 13:31:06 -07:00
test_tracer.py Fixed test I broke in #568 2023-07-22 12:23:42 -07:00
test_transform.py .transform(..., keep_table=name) parameter, closes #571 2023-07-22 15:32:09 -07:00
test_update.py Use jsonify_if_need for sql updates (#204) 2020-12-08 09:49:42 -08:00
test_upsert.py upsert_all() now works with not_null - refs #538 2023-05-08 12:24:19 -07:00
test_utils.py sqlite_utils.utils.flatten() function, closes #500 2022-10-18 11:00:35 -07:00
test_wal.py Now complies with flake8, refs #291 2021-06-22 18:22:08 -07:00
utils.py 'sqlite-utils add-column name type' command, closes #15 2019-02-24 12:04:33 -08:00