Skip to content

Commit

Permalink
Remove dependency on mock and update documentation title
Browse files Browse the repository at this point in the history
  • Loading branch information
Pankrat committed Apr 8, 2019
1 parent 8ea585f commit 45e47e5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion build_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Django
coverage
flake8
mock
pika >= 1.0.0
pytest >= 3.6.0
pytest-django
Expand Down
1 change: 0 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
coverage
ipdb
ipython
mock
py
pytest
wheel
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Domain Events
=============
Domain Event Broker
===================

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion domain_event_broker/tests/django/test_publish_on_commit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import patch
from unittest.mock import patch
from django.db import transaction

from domain_event_broker.django import publish_on_commit
Expand Down
2 changes: 1 addition & 1 deletion domain_event_broker/tests/test_events.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from mock import patch
from unittest.mock import patch

from domain_event_broker import DomainEvent, publish_domain_event

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
license='MIT',
packages=find_packages(),
install_requires=["pika >= 1.0.0"],
tests_require=["pytest >= 3.6.0", "mock"],
tests_require=["pytest >= 3.6.0"],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 45e47e5

Please sign in to comment.