Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ojkastl_buildservice:Branch_devel_languages_python
python-elasticsearch
python-elasticsearch-no-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-elasticsearch-no-mock.patch of Package python-elasticsearch
--- test_elasticsearch/test_connection.py | 2 +- test_elasticsearch/test_helpers.py | 2 +- test_elasticsearch/test_server/test_helpers.py | 2 +- test_elasticsearch/test_transport.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- a/test_elasticsearch/test_connection.py +++ b/test_elasticsearch/test_connection.py @@ -2,7 +2,7 @@ import re import ssl import gzip import io -from mock import Mock, patch +from unittest.mock import Mock, patch import urllib3 import warnings from requests.auth import AuthBase --- a/test_elasticsearch/test_helpers.py +++ b/test_elasticsearch/test_helpers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -import mock +from unittest import mock import time import threading from unittest import SkipTest --- a/test_elasticsearch/test_server/test_helpers.py +++ b/test_elasticsearch/test_server/test_helpers.py @@ -1,4 +1,4 @@ -from mock import patch +from unittest.mock import patch from elasticsearch import helpers, TransportError from elasticsearch.helpers import ScanError --- a/test_elasticsearch/test_transport.py +++ b/test_elasticsearch/test_transport.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals import time -from mock import patch +from unittest.mock import patch from elasticsearch.transport import Transport, get_host_info from elasticsearch.connection import Connection
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor