perf: 翻译 (#12847)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2024-03-21 11:32:23 +08:00
committed by GitHub
parent 15acfe84b0
commit a5e8792092
5 changed files with 387 additions and 343 deletions

View File

@@ -126,6 +126,8 @@ class ChangeSecretFailedMsg(UserMessage):
@classmethod
def gen_test_msg(cls):
name = 'test'
user = User.objects.first()
record = ChangeSecretRecord.objects.first()
return cls(user, [record])
execution_id = str(record.execution_id)
return cls(name, execution_id, user, [])