Files
archived-MoviePilot-Plugins/pytest.ini

12 lines
600 B
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[pytest]
# 仅在仓库根 tests/ 下发现用例插件目录plugins/、plugins.v2/)不再承载测试
testpaths = tests
python_files = test_*.py
# unittest.TestCase 子类无论命名都会被收集;此项额外兼容将来可能出现的纯函数式测试类
python_classes = *Test Test*
python_functions = test_*
# v1/v2 必须分会话运行同名插件包冲突marker 由 conftest 按目录自动打,便于 -m 选择
markers =
v1: v1 插件plugins/)单测,需与 v2 分独立会话运行
v2: v2 插件plugins.v2/)单测,需与 v1 分独立会话运行