mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-03 02:25:32 +08:00
18 lines
438 B
Python
18 lines
438 B
Python
import unittest
|
|
|
|
from tests.test_metainfo import MetaInfoTest
|
|
from tests.test_object import ObjectUtilsTest
|
|
|
|
|
|
if __name__ == '__main__':
|
|
suite = unittest.TestSuite()
|
|
|
|
# 测试名称识别
|
|
suite.addTest(MetaInfoTest('test_metainfo'))
|
|
suite.addTest(MetaInfoTest('test_emby_format_ids'))
|
|
suite.addTest(ObjectUtilsTest('test_check_method'))
|
|
|
|
# 运行测试
|
|
runner = unittest.TextTestRunner()
|
|
runner.run(suite)
|