bump version to 0.2.7
This commit is contained in:
@@ -238,6 +238,7 @@ class TestPdfInfo:
|
||||
class TestPdfOcr:
|
||||
"""Test pdf_ocr function."""
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_pdf_ocr_file(self, tmp_path: Path) -> None:
|
||||
"""Should OCR PDF."""
|
||||
pytest.importorskip("fitz")
|
||||
|
||||
@@ -529,6 +529,7 @@ class TestDependencyDrivenScheduling:
|
||||
class TestConcurrencyLimits:
|
||||
"""测试并发限制:相同 concurrency_key 的任务串行执行。"""
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_concurrency_key_serializes_tasks(self) -> None:
|
||||
"""相同 key 的任务不应并发执行。"""
|
||||
running: list[int] = []
|
||||
|
||||
@@ -264,6 +264,7 @@ def test_skip_if_missing_with_fn_not_checked():
|
||||
assert spec.should_execute({})[0] is True
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_skip_if_missing_with_empty_cmd_list():
|
||||
"""skip_if_missing=True 时,空命令列表应返回 True(不检查)."""
|
||||
spec = TaskSpec("test", cmd=[""], skip_if_missing=True)
|
||||
|
||||
Reference in New Issue
Block a user