diff --git a/src/pkgmgr/actions/mirror/setup_cmd.py b/src/pkgmgr/actions/mirror/setup_cmd.py index a7127c8..8ad0584 100644 --- a/src/pkgmgr/actions/mirror/setup_cmd.py +++ b/src/pkgmgr/actions/mirror/setup_cmd.py @@ -4,12 +4,11 @@ from __future__ import annotations from typing import List from .context import build_context -from .git_remote import ensure_origin_remote +from .git_remote import ensure_origin_remote, determine_primary_remote_url from .remote_check import probe_mirror from .remote_provision import ensure_remote_repository from .types import Repository - def _setup_local_mirrors_for_repo( repo: Repository, repositories_base_dir: str, diff --git a/tests/integration/test_mirror_commands.py b/tests/integration/test_mirror_commands.py index 3c1626e..c51af9e 100644 --- a/tests/integration/test_mirror_commands.py +++ b/tests/integration/test_mirror_commands.py @@ -27,7 +27,7 @@ from unittest.mock import MagicMock, PropertyMock, patch class TestIntegrationMirrorCommands(unittest.TestCase): """ - End-to-end tests for `pkgmgr mirror` commands. + Integration tests for `pkgmgr mirror` commands. """ def _run_pkgmgr(self, args: List[str], extra_env: Optional[Dict[str, str]] = None) -> str: