Skip to content

Commit

Permalink
exclude ResetPassword view from test_view_classes_have_minimal_set_of…
Browse files Browse the repository at this point in the history
…_permissions_classes
  • Loading branch information
Ostap-Zherebetskyi committed Feb 26, 2025
1 parent b2fe442 commit 4fb8c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api_tests/base/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
CountedAuthUsageView,
MetricsOpenapiView,
)
from api.users.views import ClaimUser
from api.users.views import ClaimUser, ResetPassword
from api.wb.views import MoveFileMetadataView, CopyFileMetadataView
from rest_framework.permissions import IsAuthenticatedOrReadOnly, IsAuthenticated
from api.base.permissions import TokenHasScope
Expand Down Expand Up @@ -60,6 +60,7 @@ def setUp(self):
RawMetricsView,
RegistriesModerationMetricsView,
MetricsOpenapiView,
ResetPassword,
]

def test_root_returns_200(self):
Expand Down

0 comments on commit 4fb8c49

Please sign in to comment.