검수일: 2026-10-10 KST
인터프리터: /usr/bin/python3.13
3.13.5 (main, Aug 10 2026, 12:06:59) [GCC 14.2.0]
SQLite=3.46.1
System=Linux-6.18.44-x86_64-with-glibc2.41
명령: /usr/bin/python3.13 -m unittest -v test_export_batches

test_01_normal_10_10_3_exact_csv_and_source_sha (test_export_batches.ExportTests.test_01_normal_10_10_3_exact_csv_and_source_sha) ... ok
test_02_changed_batch_sizes_preserve_all_ids (test_export_batches.ExportTests.test_02_changed_batch_sizes_preserve_all_ids) ... ok
test_03_batch_size_boundaries_and_option_caps (test_export_batches.ExportTests.test_03_batch_size_boundaries_and_option_caps) ... ok
test_04_empty_and_one_row (test_export_batches.ExportTests.test_04_empty_and_one_row) ... ok
test_05_output_collision_and_rerun_preserve_files (test_export_batches.ExportTests.test_05_output_collision_and_rerun_preserve_files) ... ok
test_06_missing_db_does_not_create_database_or_output (test_export_batches.ExportTests.test_06_missing_db_does_not_create_database_or_output) ... ok
test_07_resource_limits_and_retained_partial_evidence (test_export_batches.ExportTests.test_07_resource_limits_and_retained_partial_evidence) ... ok
test_08_row_bytes_limit (test_export_batches.ExportTests.test_08_row_bytes_limit) ... ok
test_09_source_connection_is_read_only (test_export_batches.ExportTests.test_09_source_connection_is_read_only) ... ok
test_10_changed_static_source_after_snapshot_fails (test_export_batches.ExportTests.test_10_changed_static_source_after_snapshot_fails) ... ok
test_11_drop_duplicate_reorder_and_substitution_counterexamples (test_export_batches.ExportTests.test_11_drop_duplicate_reorder_and_substitution_counterexamples) ... ok
test_12_interruption_retains_evidence (test_export_batches.ExportTests.test_12_interruption_retains_evidence) ... ok
test_13_concurrent_wal_writer_snapshot_stays_at_23 (test_export_batches.ExportTests.test_13_concurrent_wal_writer_snapshot_stays_at_23) ... ok
test_14_cli_success_invalid_and_no_overwrite (test_export_batches.ExportTests.test_14_cli_success_invalid_and_no_overwrite) ... ok
test_15_fixture_creator_never_overwrites (test_export_batches.ExportTests.test_15_fixture_creator_never_overwrites) ... ok
test_16_corrupted_database_preserves_failure (test_export_batches.ExportTests.test_16_corrupted_database_preserves_failure) ... ok
test_17_query_and_header_are_fixed (test_export_batches.ExportTests.test_17_query_and_header_are_fixed) ... ok
test_18_sparse_ids_are_valid_if_source_and_output_match (test_export_batches.ExportTests.test_18_sparse_ids_are_valid_if_source_and_output_match) ... ok
test_19_validation_bounds_csv_field_size_and_header (test_export_batches.ExportTests.test_19_validation_bounds_csv_field_size_and_header) ... ok
test_20_wrong_schema_and_source_types (test_export_batches.ExportTests.test_20_wrong_schema_and_source_types) ... ok
test_21_large_source_rejected_before_output (test_export_batches.ExportTests.test_21_large_source_rejected_before_output) ... ok
test_22_tampered_output_rejected_end_to_end (test_export_batches.ExportTests.test_22_tampered_output_rejected_end_to_end) ... ok
test_23_real_cli_sigint_and_sigterm_keep_partial_files (test_export_batches.ExportTests.test_23_real_cli_sigint_and_sigterm_keep_partial_files) ... ok
test_24_exact_output_budget_boundary (test_export_batches.ExportTests.test_24_exact_output_budget_boundary) ... ok
test_25_output_mutation_after_write_is_detected (test_export_batches.ExportTests.test_25_output_mutation_after_write_is_detected) ... ok
test_26_csv_huge_field_is_bounded (test_export_batches.ExportTests.test_26_csv_huge_field_is_bounded) ... ok
test_27_manifest_budget_failure_never_logs_success (test_export_batches.ExportTests.test_27_manifest_budget_failure_never_logs_success) ... ok
test_28_compare_altered_batch_sizes_streaming (test_export_batches.ExportTests.test_28_compare_altered_batch_sizes_streaming) ... ok
test_29_compare_rejects_incomplete_tampered_and_path_traversal (test_export_batches.ExportTests.test_29_compare_rejects_incomplete_tampered_and_path_traversal) ... ok
test_30_compare_empty_and_cli (test_export_batches.ExportTests.test_30_compare_empty_and_cli) ... ok
test_31_korean_quotes_commas_and_multiline_csv (test_export_batches.ExportTests.test_31_korean_quotes_commas_and_multiline_csv) ... ok
test_32_compare_detects_same_summary_different_integer_ids (test_export_batches.ExportTests.test_32_compare_detects_same_summary_different_integer_ids) ... ok

----------------------------------------------------------------------
Ran 32 tests in 0.362s

OK
