mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-11-24 19:09:42 +01:00
Applied Black, refs #237
This commit is contained in:
parent
bba6e241be
commit
09c3386f55
1 changed files with 3 additions and 12 deletions
|
|
@ -1400,15 +1400,11 @@ def test_drop_table_error():
|
||||||
# Using --ignore supresses that error
|
# Using --ignore supresses that error
|
||||||
result = runner.invoke(
|
result = runner.invoke(
|
||||||
cli.cli,
|
cli.cli,
|
||||||
[
|
["drop-table", "test.db", "t2", "--ignore"],
|
||||||
"drop-table",
|
|
||||||
"test.db",
|
|
||||||
"t2",
|
|
||||||
"--ignore"
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
assert 0 == result.exit_code
|
assert 0 == result.exit_code
|
||||||
|
|
||||||
|
|
||||||
def test_drop_view():
|
def test_drop_view():
|
||||||
runner = CliRunner()
|
runner = CliRunner()
|
||||||
with runner.isolated_filesystem():
|
with runner.isolated_filesystem():
|
||||||
|
|
@ -1445,12 +1441,7 @@ def test_drop_view_error():
|
||||||
# Using --ignore supresses that error
|
# Using --ignore supresses that error
|
||||||
result = runner.invoke(
|
result = runner.invoke(
|
||||||
cli.cli,
|
cli.cli,
|
||||||
[
|
["drop-view", "test.db", "t2", "--ignore"],
|
||||||
"drop-view",
|
|
||||||
"test.db",
|
|
||||||
"t2",
|
|
||||||
"--ignore"
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
assert 0 == result.exit_code
|
assert 0 == result.exit_code
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue