Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Commit 404ca7b

Browse files
Merge pull request #3804 from VWS-Python/codex/shared-fixture-plugin-20261028
Provide an explicit pytest plugin for shared API fixtures
2 parents c9b6619 + d2f161b commit 404ca7b

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎tests/conftest.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"""
44

55
pytest_plugins = [
6-
"tests.mock_vws.fixtures.prepared_requests",
6+
"tests.mock_vws.fixtures.plugin",
77
"tests.mock_vws.fixtures.vuforia_backends",
8-
"tests.mock_vws.fixtures.model_target_prepared_requests",
9-
"tests.mock_vws.fixtures.api_contract",
108
]

‎tests/mock_vws/fixtures/plugin.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Load shared API fixtures independently of backend adapters."""
2+
3+
pytest_plugins = [
4+
"tests.mock_vws.fixtures.prepared_requests",
5+
"tests.mock_vws.fixtures.model_target_prepared_requests",
6+
"tests.mock_vws.fixtures.api_contract",
7+
]

0 commit comments

Comments
 (0)