chore(core): addd rand int to username

ref: #871
This commit is contained in:
2025-07-20 07:24:07 +09:30
parent 35d2e869b0
commit 842fc38a98

View File

@ -1,5 +1,6 @@
import django
import pytest
import random
from rest_framework.exceptions import (
ValidationError
@ -198,9 +199,9 @@ class TicketBaseSerializerTestCases:
})
request.cls.view_user = User.objects.create_user(username="cafs_test_user_view", password="password")
request.cls.view_user = User.objects.create_user(username="cafs_test_user_view" + str(random.randint(1,99999)), password="password")
request.cls.other_user = User.objects.create_user(username="cafs_test_user_other", password="password")
request.cls.other_user = User.objects.create_user(username="cafs_test_user_other" + str(random.randint(1,99999)), password="password")
yield