mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Sanity check test for optimize --no-vacuum
This commit is contained in:
parent
0a8194e730
commit
1c683076d3
1 changed files with 3 additions and 0 deletions
|
|
@ -62,3 +62,6 @@ def test_optimize(db_path):
|
|||
assert 0 == result.exit_code
|
||||
size_after_optimize = os.stat(db_path).st_size
|
||||
assert size_after_optimize < size_before_optimize
|
||||
# Sanity check that --no-vacuum doesn't throw errors:
|
||||
result = CliRunner().invoke(cli.cli, ["optimize", "--no-vacuum", db_path])
|
||||
assert 0 == result.exit_code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue