代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/pkgship 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
--- 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。