From c5a5b8468c21f582e31d73d5770fd5e9538a1c6d Mon Sep 17 00:00:00 2001 From: bot_dev1 Date: Wed, 5 Aug 2026 05:30:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(#55):=20=E4=BF=AE=E5=A4=8D=20layout=5Fvalid?= =?UTF-8?q?ator=20=E6=B5=8B=E8=AF=95=E5=BC=95=E5=AF=BC=20sys.path=20?= =?UTF-8?q?=E6=8C=82=E8=BD=BD=EF=BC=88=E4=B8=8E=20core=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=B8=80=E8=87=B4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/ti-cl4/dashboard/tests/test_layout_validator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/ti-cl4/dashboard/tests/test_layout_validator.py b/templates/ti-cl4/dashboard/tests/test_layout_validator.py index 920daca..c9c56f7 100644 --- a/templates/ti-cl4/dashboard/tests/test_layout_validator.py +++ b/templates/ti-cl4/dashboard/tests/test_layout_validator.py @@ -13,8 +13,10 @@ 9. 空布局 / 边界。 """ import os +import sys import unittest +sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) import _bootstrap # noqa: F401 (sys.path 挂载) from layout_validator import (