Skip to content

Commit

Permalink
use unittest.mock instead of mock
Browse files Browse the repository at this point in the history
  • Loading branch information
singingwolfboy committed Jun 21, 2021
1 parent 4ab4b24 commit 84bf58e
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
elasticsearch>=1.9.0,<8.0.0
mock
ipdb
python-dateutil
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
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 84bf58e

Please sign in to comment.