Skip to content

Commit a625f1e

Browse files
committed
restore app definition
1 parent 3a1508a commit a625f1e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/test_completion/test_completion_install.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,19 @@
66

77
import pytest
88
import shellingham
9+
import typer
910
from typer.testing import CliRunner
1011

1112
from docs_src.asynchronous import tutorial001 as async_mod
1213
from docs_src.commands.index import tutorial001 as sync_mod
1314

14-
mod_params = ("mod", (sync_mod, async_mod))
15-
1615
from ..utils import requires_completion_permission
1716

17+
mod_params = ("mod", (sync_mod, async_mod))
18+
1819
runner = CliRunner()
20+
app = typer.Typer()
21+
app.command()(sync_mod.main)
1922

2023

2124
@requires_completion_permission

0 commit comments

Comments
 (0)