Attributes model added.

This commit is contained in:
Abdulaziz Axmadaliyev
2026-03-09 13:21:12 +05:00
parent ec906c2b09
commit d7c12eada3
34 changed files with 765 additions and 8 deletions

View File

@@ -40,9 +40,8 @@ def sms_code(test_user):
def test_reg_view(api_client):
data = {
"phone": "998999999991",
"first_name": "John",
"last_name": "Doe",
"password": "password",
"confirm_password":"password"
}
with patch.object(SmsService, "send_confirm", return_value=True):
response = api_client.post(reverse("auth-register"), data=data)