mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-31 06:24:21 +02:00
Added vacuum to CLI and Python API
This commit is contained in:
parent
fd5829b27d
commit
231224ba1a
6 changed files with 40 additions and 0 deletions
|
|
@ -21,3 +21,8 @@ def db_path(tmpdir):
|
|||
def test_table_names(db_path):
|
||||
result = CliRunner().invoke(cli.cli, ["table_names", db_path])
|
||||
assert "Gosh\nGosh2" == result.output.strip()
|
||||
|
||||
|
||||
def test_vacuum(db_path):
|
||||
result = CliRunner().invoke(cli.cli, ["vacuum", db_path])
|
||||
assert 0 == result.exit_code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue