Fixes a mock version compatibility issue.
Fixes a mock version compatibility issue.

leotsem/django-elasticsearch,alsur/django-elasticsearch,liberation/django-elasticsearch,sadnoodles/django-elasticsearch