Skip to content

Commit f00ea71

Browse files
mnriemCopilot
andcommitted
style: remove unused MagicMock imports from tests
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0745ad2 commit f00ea71

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_presets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3902,7 +3902,7 @@ class TestPresetAddFromUrlResolution:
39023902
def test_preset_add_from_github_release_url_resolves_and_downloads(self, project_dir):
39033903
"""'preset add --from <github-release-url>' resolves to API asset URL."""
39043904
from typer.testing import CliRunner
3905-
from unittest.mock import patch, MagicMock
3905+
from unittest.mock import patch
39063906
from specify_cli import app
39073907

39083908
manifest_content = yaml.dump({

tests/test_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3495,7 +3495,7 @@ class TestWorkflowAddUrlResolution:
34953495
def test_workflow_add_from_github_release_url_resolves_and_downloads(self, project_dir):
34963496
"""'workflow add <github-release-url>' resolves to API asset URL."""
34973497
from typer.testing import CliRunner
3498-
from unittest.mock import patch, MagicMock
3498+
from unittest.mock import patch
34993499
from specify_cli import app
35003500

35013501
captured_urls = []

0 commit comments

Comments
 (0)