Skip to content

Commit 764d8e8

Browse files
committed
Fix typing error in test
1 parent dad27fc commit 764d8e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
from __future__ import annotations
2+
13
import subprocess
24
import sys
35
from pathlib import Path
6+
from typing import Any
47
from unittest.mock import patch
58

69
import pytest
@@ -108,7 +111,7 @@ def test_project_run() -> None:
108111
("dev", {"host": "127.0.0.1", "port": 8002, "workers": None}),
109112
],
110113
)
111-
def test_project_run_subconfigure(command: str, kwargs: dict) -> None:
114+
def test_project_run_subconfigure(command: str, kwargs: dict[str, Any]) -> None:
112115
with changing_dir(assets_path / "projects/configured_app_subtable"):
113116
with patch.object(uvicorn, "run") as mock_run:
114117
result = runner.invoke(app, [command])

0 commit comments

Comments
 (0)