write auth tests with pytest

This commit is contained in:
behruz-dev
2025-07-15 12:41:44 +05:00
parent f1afb86f20
commit 92838f1dde
6 changed files with 246 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ urlpatterns = [
path('auth/', include(
[
path('login/', LoginApiView.as_view(), name='login'),
path('register/', RegisterApiView.as_view(), name='login'),
path('register/', RegisterApiView.as_view(), name='register'),
path('confirm_user/', ConfirUserApiView.as_view(), name='confirm-user'),
path('choise_user_role/', ChoiceUserRoleApiView.as_view(), name='choise-user-role'),
path('complite_user_profile/<str:phone>/', CompliteUserProfileApiView.as_view(), name='complite-user-profile'),