From 0534a48f0750c08a1edb51773bb2d7fa5ee6d98f Mon Sep 17 00:00:00 2001 From: Andrzej Pragacz Date: Sat, 13 Feb 2021 01:38:18 +0100 Subject: [PATCH] Remove not needed add_session_to_request --- tests/api/views/reset_password/test_send_reset_password_link.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/api/views/reset_password/test_send_reset_password_link.py b/tests/api/views/reset_password/test_send_reset_password_link.py index 5d156bd..e115d36 100644 --- a/tests/api/views/reset_password/test_send_reset_password_link.py +++ b/tests/api/views/reset_password/test_send_reset_password_link.py @@ -274,7 +274,6 @@ def test_when_deprecated_send_reset_password_link_serializer_then_success( request = api_factory.create_post_request({ 'login': 'abra', }) - api_factory.add_session_to_request(request) response = api_view_provider.view_func(request) assert_response_is_ok(response)