diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/activities/views/test_compose.py | 2 | ||||
-rw-r--r-- | tests/activities/views/test_timelines.py | 3 | ||||
-rw-r--r-- | tests/users/views/test_auth.py | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/activities/views/test_compose.py b/tests/activities/views/test_compose.py index 60bbca1..2b8c4ea 100644 --- a/tests/activities/views/test_compose.py +++ b/tests/activities/views/test_compose.py @@ -1,6 +1,6 @@ import re +from unittest import mock -import mock import pytest from django.core.exceptions import PermissionDenied diff --git a/tests/activities/views/test_timelines.py b/tests/activities/views/test_timelines.py index 6c8b355..74bf43d 100644 --- a/tests/activities/views/test_timelines.py +++ b/tests/activities/views/test_timelines.py @@ -1,4 +1,5 @@ -import mock +from unittest import mock + import pytest from activities.views.timelines import Home diff --git a/tests/users/views/test_auth.py b/tests/users/views/test_auth.py index 22e1fb6..f3a34c0 100644 --- a/tests/users/views/test_auth.py +++ b/tests/users/views/test_auth.py @@ -1,4 +1,5 @@ -import mock +from unittest import mock + import pytest from core.models import Config |