test(regulatory-info-package): 补充模板生成回归覆盖
This commit is contained in:
8
tests/conftest.py
Normal file
8
tests/conftest.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_regulatory_info_package_page_count(monkeypatch):
|
||||
from review_agent.regulatory_info_package.services import package_generate
|
||||
|
||||
monkeypatch.setattr(package_generate, "count_document_pages", lambda _path: 1)
|
||||
Reference in New Issue
Block a user