mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02: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
|
||||
result = runner.invoke(
|
||||
cli.cli,
|
||||
[
|
||||
"drop-table",
|
||||
"test.db",
|
||||
"t2",
|
||||
"--ignore"
|
||||
],
|
||||
["drop-table", "test.db", "t2", "--ignore"],
|
||||
)
|
||||
assert 0 == result.exit_code
|
||||
|
||||
|
||||
def test_drop_view():
|
||||
runner = CliRunner()
|
||||
with runner.isolated_filesystem():
|
||||
|
|
@ -1445,12 +1441,7 @@ def test_drop_view_error():
|
|||
# Using --ignore supresses that error
|
||||
result = runner.invoke(
|
||||
cli.cli,
|
||||
[
|
||||
"drop-view",
|
||||
"test.db",
|
||||
"t2",
|
||||
"--ignore"
|
||||
],
|
||||
["drop-view", "test.db", "t2", "--ignore"],
|
||||
)
|
||||
assert 0 == result.exit_code
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue