Did not need WAL after all, refs #364

This commit is contained in:
Simon Willison 2022-01-09 20:41:00 -08:00
commit e6ae643497

View file

@ -463,9 +463,6 @@ def test_insert_streaming_batch_size_1(db_path):
# Streaming with --batch-size 1 should commit on each record
# Can't use CliRunner().invoke() here bacuse we need to
# run assertions in between writing to process stdin
# First, create the DB with WAL mode enabled
CliRunner().invoke(cli.cli, ["create-database", db_path, "--enable-wal"])
# Now start streaming rows to insert --nl
proc = subprocess.Popen(
[
sys.executable,