Attributes model added.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user