Skip to content

Commit

Permalink
mock is now included in python
Browse files Browse the repository at this point in the history
Available as `unittest.mock`
  • Loading branch information
Jordan Reiter authored and Jordan Reiter committed Mar 22, 2020
1 parent 961f801 commit b9a7658
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cas/tests/test_backend.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import mock
try:
from unittest import mock
except ImportError:
import mock
from django.test import TestCase

from cas.backends import CASBackend
Expand Down

0 comments on commit b9a7658

Please sign in to comment.