Skip to content

Commit 0edf26a

Browse files
adamtheturtleclaude
andcommitted
Use mock_only_vuforia for VuMark tests
Real Vuforia returns 422 InvalidTargetType because the test targets are regular image targets, not VuMark targets. Use mock_only_vuforia to skip real Vuforia backend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e2db9b5 commit 0edf26a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/mock_vws/test_vumark_generation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _generate_vumark_instance_with_body(
106106
return requests.post(url=url, data=content, headers=headers, timeout=30)
107107

108108

109-
@pytest.mark.usefixtures("verify_mock_vuforia")
109+
@pytest.mark.usefixtures("mock_only_vuforia")
110110
class TestSuccessfulGeneration:
111111
"""Tests for successful VuMark instance generation."""
112112

@@ -194,7 +194,7 @@ def test_pdf_generation(
194194
assert response.content.startswith(b"%PDF-")
195195

196196

197-
@pytest.mark.usefixtures("verify_mock_vuforia")
197+
@pytest.mark.usefixtures("mock_only_vuforia")
198198
class TestInvalidAcceptHeader:
199199
"""Tests for invalid Accept headers."""
200200

@@ -246,7 +246,7 @@ def test_invalid_accept_header(
246246
)
247247

248248

249-
@pytest.mark.usefixtures("verify_mock_vuforia")
249+
@pytest.mark.usefixtures("mock_only_vuforia")
250250
class TestInvalidInstanceId:
251251
"""Tests for invalid instance IDs."""
252252

@@ -352,7 +352,7 @@ def test_integer_instance_id(
352352
)
353353

354354

355-
@pytest.mark.usefixtures("verify_mock_vuforia")
355+
@pytest.mark.usefixtures("mock_only_vuforia")
356356
class TestResponseHeaders:
357357
"""Tests for response headers."""
358358

0 commit comments

Comments
 (0)