Skip to content

Commit d85d2be

Browse files
committed
Fix mypy error about Progress import
1 parent ddff610 commit d85d2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli_deploy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import httpx
1010
import pytest
1111
import respx
12-
import rich_toolkit
1312
from click.testing import Result
1413
from httpx import Response
14+
from rich_toolkit.progress import Progress
1515
from time_machine import TimeMachineFixture
1616
from typer.testing import CliRunner
1717

@@ -1737,7 +1737,7 @@ def test_upload_deployment_progress(
17371737

17381738
with (
17391739
changing_dir(tmp_path),
1740-
patch.object(rich_toolkit.toolkit.Progress, "log") as mock_progress,
1740+
patch.object(Progress, "log") as mock_progress,
17411741
):
17421742
result = runner.invoke(app, ["deploy"])
17431743
assert result.exit_code == 0

0 commit comments

Comments
 (0)