Подготовка к замене AuthRejectReason
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
import uuid
|
||||
|
||||
from net.xeaf.rack.models import AccountModel
|
||||
from net.xeaf.rack.utils import DateUtils
|
||||
|
||||
|
||||
class AccountTestData:
|
||||
@@ -49,6 +50,7 @@ class AccountTestData:
|
||||
account.full_name = "Иван И. Иванов"
|
||||
account.email = "i.ivanov@xeaf.net"
|
||||
account.set_password(cls.DEFAULT_PASSWORD)
|
||||
account.joined_at = DateUtils.now()
|
||||
account.save()
|
||||
|
||||
@classmethod
|
||||
@@ -64,5 +66,5 @@ class AccountTestData:
|
||||
account.full_name = "Петр П. Петров"
|
||||
account.email = "p.petrov@xeaf.net"
|
||||
account.set_password(cls.DEFAULT_PASSWORD)
|
||||
account.joined_at = DateUtils.now()
|
||||
account.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user