Skip to content

Commit

Permalink
Merge pull request #71 from singingwolfboy/unittest-mock
Browse files Browse the repository at this point in the history
use unittest.mock instead of mock
  • Loading branch information
vrcmarcos committed Jun 22, 2021
2 parents 4ab4b24 + 84bf58e commit 7ffe7e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion elasticmock/__init__.py
Expand Up @@ -3,7 +3,7 @@
from functools import wraps

from elasticsearch.client import _normalize_hosts
from mock import patch
from unittest.mock import patch

from elasticmock.fake_elasticsearch import FakeElasticsearch

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
@@ -1,4 +1,3 @@
elasticsearch>=1.9.0,<8.0.0
mock
ipdb
python-dateutil
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -22,7 +22,6 @@
packages=setuptools.find_packages(exclude=('tests')),
install_requires=[
'elasticsearch',
'mock',
'python-dateutil',
],
classifiers=[
Expand Down

0 comments on commit 7ffe7e4

Please sign in to comment.