mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
fix(test): annotate _choreographer helper return type (CI mypy checks tests/)
This commit is contained in:
@@ -69,7 +69,9 @@ def _patch_repo(monkeypatch: pytest.MonkeyPatch, row: Any | None) -> MagicMock:
|
|||||||
return repo_mock
|
return repo_mock
|
||||||
|
|
||||||
|
|
||||||
def _choreographer(monkeypatch: pytest.MonkeyPatch, row: Any | None):
|
def _choreographer(
|
||||||
|
monkeypatch: pytest.MonkeyPatch, row: Any | None
|
||||||
|
) -> tuple[Choreographer, MagicMock]:
|
||||||
deps = _make_deps()
|
deps = _make_deps()
|
||||||
deps.task.session = MagicMock()
|
deps.task.session = MagicMock()
|
||||||
c = Choreographer(deps)
|
c = Choreographer(deps)
|
||||||
|
|||||||
Reference in New Issue
Block a user