Skip to content
Prev Previous commit
style: remove unused MagicMock imports from tests
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
mnriem and Copilot committed Jun 5, 2026
commit f00ea71d48e909a19041b2a35523cbb01e040ff4
2 changes: 1 addition & 1 deletion tests/test_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3902,7 +3902,7 @@ class TestPresetAddFromUrlResolution:
def test_preset_add_from_github_release_url_resolves_and_downloads(self, project_dir):
"""'preset add --from <github-release-url>' resolves to API asset URL."""
from typer.testing import CliRunner
from unittest.mock import patch, MagicMock
from unittest.mock import patch
from specify_cli import app
Comment thread
mnriem marked this conversation as resolved.

manifest_content = yaml.dump({
Expand Down
2 changes: 1 addition & 1 deletion tests/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -3495,7 +3495,7 @@ class TestWorkflowAddUrlResolution:
def test_workflow_add_from_github_release_url_resolves_and_downloads(self, project_dir):
"""'workflow add <github-release-url>' resolves to API asset URL."""
from typer.testing import CliRunner
from unittest.mock import patch, MagicMock
from unittest.mock import patch
from specify_cli import app
Comment thread
mnriem marked this conversation as resolved.

captured_urls = []
Expand Down
Loading