视觉升级:为三大独立服务子页与联系我们页定制并嵌入现代中式高精科技矢量视窗插画
这个提交包含在:
@@ -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()
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户