From 9a9f25c69eeabca1d6667cd3b6c2ca03e0be0648 Mon Sep 17 00:00:00 2001 From: "Nick V. Anokhin" Date: Tue, 14 Jul 2026 17:32:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BB=D1=83=D0=B6=D0=B5=D0=B1=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=82=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/userstory/account_test_data.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/net/xeaf/rack/management/userstory/account_test_data.py b/net/xeaf/rack/management/userstory/account_test_data.py index 17244d8..ee71be5 100644 --- a/net/xeaf/rack/management/userstory/account_test_data.py +++ b/net/xeaf/rack/management/userstory/account_test_data.py @@ -68,3 +68,19 @@ class AccountTestData: account.set_password(cls.DEFAULT_PASSWORD) account.joined_at = DateUtils.now() account.save() + + @classmethod + def get_i_ivanov_account(cls): + """ + Возвращает аккаунт пользователя Иван И. Иванов + """ + + return AccountModel.objects.get(id=cls.I_IVANOV_ID) + + @classmethod + def get_p_petrov_account(cls): + """ + Возвращает аккаунт пользователя Петр П. Петров + """ + + return AccountModel.objects.get(id=cls.P_PETROV_ID)