Skip to content

Commit

Permalink
use new unittest.mock everywhere
Browse files Browse the repository at this point in the history
$ grep mock -r | grep import
tests/test_ajax_mixins.py:import mock
tests/test_queries.py:from unittest import mock
  • Loading branch information
a-detiste committed Feb 24, 2024
1 parent df847c9 commit 61064f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
factory_boy
mock
pytest-django
pytest-cov
coverage
django
django
2 changes: 1 addition & 1 deletion tests/test_ajax_mixins.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
import mock
from unittest import mock

from django import test
from django.core.exceptions import ImproperlyConfigured
Expand Down

0 comments on commit 61064f1

Please sign in to comment.