视觉升级:为三大独立服务子页与联系我们页定制并嵌入现代中式高精科技矢量视窗插画

这个提交包含在:
wikiboss
2026-10-10 09:28:32 +08:00
父节点 ac0a6c0bc8
当前提交 a56834b705
共有 12 个文件被更改,包括 1117 次插入 和 1 次删除

查看文件

@@ -297,6 +297,15 @@ def test_plain_and_concise_copywriting_suite():
res.assert_true(test_result.wasSuccessful(), f"通俗易懂与去AI味去啰嗦断言全部通过 (共 {test_result.testsRun} 项)")
return res.summary()
def test_dedicated_page_illustrations_suite():
res = TestResult("独立页面精美视觉配图专项测试 (DedicatedPageIllustrations)")
from tests.test_dedicated_page_illustrations import TestDedicatedPageIllustrations
suite = unittest.TestLoader().loadTestsFromTestCase(TestDedicatedPageIllustrations)
runner = unittest.TextTestRunner(verbosity=0)
test_result = runner.run(suite)
res.assert_true(test_result.wasSuccessful(), f"独立页面精美视觉配图全部通过 (共 {test_result.testsRun} 项)")
return res.summary()
def main():
import unittest
results = [
@@ -314,10 +323,12 @@ def main():
test_journalism_and_articles_suite(),
test_dedicated_service_pages_suite(),
test_concise_showcase_images_suite(),
test_plain_and_concise_copywriting_suite()
test_plain_and_concise_copywriting_suite(),
test_dedicated_page_illustrations_suite()
]
sys.exit(0 if all(results) else 1)
if __name__ == '__main__':
main()