test(recipe-routes): add scaffolding baseline

This commit is contained in:
pixelpaws
2025-09-22 12:41:37 +08:00
parent b92e7aa446
commit 3220cfb79c
3 changed files with 279 additions and 5 deletions

View File

@@ -56,11 +56,6 @@ class RecipeRoutes(BaseRecipeRoutes):
# 设置服务端i18n语言
self.server_i18n.set_locale(user_language)
# 为模板环境添加i18n过滤器
if not hasattr(self.template_env, '_i18n_filter_added'):
self._ensure_i18n_filter()
self.template_env._i18n_filter_added = True
# Skip initialization check and directly try to get cached data
try:
# Recipe scanner will initialize cache if needed