diff --git a/tests/unit/pkgmgr/actions/branch/__init__.py b/tests/unit/pkgmgr/actions/branch/__init__.py index f2c6360..ae5743f 100644 --- a/tests/unit/pkgmgr/actions/branch/__init__.py +++ b/tests/unit/pkgmgr/actions/branch/__init__.py @@ -1,5 +1,5 @@ import unittest -from unittest.mock import patch, MagicMock +from unittest.mock import patch from pkgmgr.actions.branch.utils import _resolve_base_branch from pkgmgr.core.git import GitError diff --git a/tests/unit/pkgmgr/core/test_create_ink.py b/tests/unit/pkgmgr/core/test_create_ink.py index d4065c7..6750bcf 100644 --- a/tests/unit/pkgmgr/core/test_create_ink.py +++ b/tests/unit/pkgmgr/core/test_create_ink.py @@ -79,7 +79,6 @@ class TestCreateInk(unittest.TestCase): patch("pkgmgr.core.command.ink.os.chmod") as mock_chmod, \ patch("pkgmgr.core.command.ink.os.path.exists", return_value=False), \ patch("pkgmgr.core.command.ink.os.path.islink", return_value=False), \ - patch("pkgmgr.core.command.ink.os.remove") as mock_remove, \ patch("pkgmgr.core.command.ink.os.path.realpath", side_effect=lambda p: p): create_ink_module.create_ink( repo=repo,