Skip to content

Commit baa48bf

Browse files
🧪 add split model ID fixture and update webhook test data
1 parent af117a7 commit baa48bf

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎tests/conftest.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ def force_gc():
1414
def findoc_model_id() -> str:
1515
"""Identifier of the Financial Document model, supplied through an env var."""
1616
return os.getenv("MINDEE_V2_SE_TESTS_FINDOC_MODEL_ID", "")
17+
18+
19+
@pytest.fixture(scope="session")
20+
def split_model_id() -> str:
21+
"""Identifier of the Split model, supplied through an env var."""
22+
return os.getenv("MINDEE_V2_SE_TESTS_SPLIT_MODEL_ID", "")

‎tests/v2/test_client_integration.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_extraction_with_two_webhooks_must_complete_and_succeed(
190190
v2_client: Client, findoc_model_id: str
191191
) -> None:
192192
webhook_ids = [
193-
"-aa11-aa11-bdc5-2f8496c5641aa2286ed9",
193+
"a2286ed9-aa11-aa11-bdc5-2f8496c5641a",
194194
"b2286ed9-aa11-aa11-bdc5-2f8496c5641a",
195195
]
196196

0 commit comments

Comments
 (0)