--- a/test/test_module/test_build/test_get_build_depend.py
+++ b/test/test_module/test_build/test_get_build_depend.py
@@ -16,7 +16,7 @@ test get binary package info
 import unittest
 import os
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 from redis import Redis
 
 from packageship.application.core.depend.build_depend import BuildDepend

--- a/test/test_module/test_install/test_get_install_depend.py
+++ b/test/test_module/test_install/test_get_install_depend.py
@@ -16,8 +16,7 @@ test get install depend info
 import unittest
 import os
 from unittest import mock
-
-from mock import patch
+from unittest.mock import patch
 from redis import Redis
 
 from packageship.application.core.depend.install_depend import InstallDepend

--- a/test/test_module/test_packages/test_all_bin_package/test_get_all_bin_package.py
+++ b/test/test_module/test_packages/test_all_bin_package/test_get_all_bin_package.py
@@ -16,7 +16,7 @@ test get all bin package
 import os
 import unittest
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 
 from packageship.application.common.exc import PackageInfoGettingError, DatabaseConfigException, \
     ElasticSearchQueryException

--- a/test/test_module/test_packages/test_all_src_package/test_get_all_src_package.py
+++ b/test/test_module/test_packages/test_all_src_package/test_get_all_src_package.py
@@ -16,7 +16,7 @@ test get all src package
 import unittest
 import os
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 
 from packageship.application.common.exc import PackageInfoGettingError, DatabaseConfigException, \
     ElasticSearchQueryException

--- a/test/test_module/test_packages/test_single_package_info/test_get_bin_package_info.py
+++ b/test/test_module/test_packages/test_single_package_info/test_get_bin_package_info.py
@@ -16,7 +16,7 @@ test get binary package info
 import unittest
 import os
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 
 from packageship.application.common.exc import DatabaseConfigException, ElasticSearchQueryException
 from packageship.application.core.pkginfo.pkg import BinaryPackage

--- a/test/test_module/test_packages/test_single_package_info/test_get_src_package_info.py
+++ b/test/test_module/test_packages/test_single_package_info/test_get_src_package_info.py
@@ -16,7 +16,7 @@ test get src package info
 import unittest
 import os
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 
 from packageship.application.common.exc import DatabaseConfigException, ElasticSearchQueryException
 from packageship.application.core. pkginfo.pkg import SourcePackage

--- a/test/test_module/test_selfbuild/test_get_self_depend_info.py
+++ b/test/test_module/test_selfbuild/test_get_self_depend_info.py
@@ -16,7 +16,7 @@ test get self_build depend info
 import unittest
 import os
 from unittest import mock
-from mock import patch
+from unittest.mock import patch
 from redis import Redis
 
 from packageship.application.core.depend.self_depend import SelfDepend
