Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add mocker for elegant mocking in pytest

Jakub Draganekd64c019d7592
diff --git a/requirements.in b/requirements.in
index d938fd4343..a585c56807 100644
--- a/requirements.in
+++ b/requirements.in
@@ -39,6 +39,7 @@ pytest>=3.2.2
pytest-django
pytest-vcr
pytest-freezegun
+pytest-mock
requests>=1.2.0
satchless>=1.1.2,<1.2a0
social-auth-app-django>=2.0.0
diff --git a/requirements.txt b/requirements.txt
index d899715818..d9934d83dc 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -78,6 +78,7 @@ pyjwt==1.5.3 # via django-payments, social-auth-core
pyphen==0.9.4 # via weasyprint
pytest-django==3.1.2
pytest-freezegun==0.2.0
+pytest-mock==1.6.3
pytest-vcr==0.3.0
pytest==3.2.2
python-dateutil==2.6.1 # via botocore, elasticsearch-dsl, faker, freezegun