You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add test for inactive database in VuMark API (#3003)
* Add test for inactive database in VuMark generation API
This test verifies that calling the VuMark generation endpoint with credentials from an inactive database returns a ProjectInactive error.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* Move inactive database test to existing test file
Avoids duplicating _make_vumark_request by placing TestInactiveDatabase in test_vumark_generation_api.py where the helper already exists.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* [pre-commit.ci lite] apply automatic fixes
* Use verify_mock_vuforia for inactive database test
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* Use inactive VuMark database fixture for TestInactiveDatabase
Add state support to VuMarkDatabase, add InactiveVuMarkCloudDatabase
fixture using INACTIVE_VUMARK_VUFORIA_* env vars, and update
project_state_validators to raise ProjectInactiveError for inactive
VuMark databases.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Use keyword-only args in fixture functions to fix too-many-positional-arguments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix inactive VuMark database to return UnknownTarget (404) not ProjectInactive
Real Vuforia returns 404 UnknownTarget for inactive VuMark databases on the
generation endpoint, not 403 ProjectInactive. Skip the project-inactive check
for VuMarkDatabase so target validation runs and returns the correct response.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add INACTIVE_VUMARK_VUFORIA_* to vuforia_secrets.env.example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
0 commit comments