feat: 自动学习功能,后台定时发送心跳积累学时
This commit is contained in:
@@ -625,6 +625,10 @@ def test_settings_do_not_expose_process_switches() -> None:
|
||||
"manual_preference",
|
||||
"auto_jigsaw_attempts",
|
||||
"admin_username",
|
||||
"heartbeat_interval_mode",
|
||||
"heartbeat_video_seconds",
|
||||
"heartbeat_document_seconds",
|
||||
"heartbeat_scorm_seconds",
|
||||
}
|
||||
assert identity.password_cipher()
|
||||
assert decrypt_secret(identity.password_cipher()) == INITIAL_PASSWORD
|
||||
|
||||
@@ -110,6 +110,7 @@ def test_login_stores_password_and_credential_only() -> None:
|
||||
"last_refresh_at",
|
||||
"credential_valid",
|
||||
"month_hours",
|
||||
"monthly_target",
|
||||
}
|
||||
|
||||
home = client.get("/api/home")
|
||||
|
||||
Reference in New Issue
Block a user