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
tests/mock_vws/test_model_target_web_api.py::TestMockOnlyErrors::test_advanced_model_count_exceeds_limit is currently mock-only because the OAuth2 client created by admin/create_secrets_files.py (via vws-web-tools) is not entitled to the advanced Model Target scope, so calls to /modeltargets/advancedDatasets get a 403 invalid_scope from real Vuforia before any validation runs.
Existing CI secrets are regenerated against an Enterprise-tier developer account so the credentials carry both modeltargets.standardmodeltarget.all and modeltargets.advancedmodeltarget.all.
The advanced-dataset model-count validation test is moved out of TestMockOnlyErrors and into TestErrorResponses so it runs against real Vuforia + both mock backends, with the mock updated if the observed response shape differs from the current implementation.
docs/source/differences-to-vws.rst is updated to remove the documented mock-only rationale for the advanced-dataset model-count case.
Ordering / dependencies
This issue is blocked by, in order:
A Vuforia Enterprise developer account entitled to modeltargets.advancedmodeltarget.all.
Follow-up to #3196 and #3197.
tests/mock_vws/test_model_target_web_api.py::TestMockOnlyErrors::test_advanced_model_count_exceeds_limitis currently mock-only because the OAuth2 client created byadmin/create_secrets_files.py(viavws-web-tools) is not entitled to the advanced Model Target scope, so calls to/modeltargets/advancedDatasetsget a403 invalid_scopefrom real Vuforia before any validation runs.Acceptance criteria
admin/create_secrets_files.pyrequests the advanced Model Target scope when creating Model Target Web API credentials (via thevws-web-toolsAPI added in Support requesting the advanced Model Target Web API scope vws-web-tools#1393).modeltargets.standardmodeltarget.allandmodeltargets.advancedmodeltarget.all.TestMockOnlyErrorsand intoTestErrorResponsesso it runs against real Vuforia + both mock backends, with the mock updated if the observed response shape differs from the current implementation.docs/source/differences-to-vws.rstis updated to remove the documented mock-only rationale for the advanced-dataset model-count case.Ordering / dependencies
This issue is blocked by, in order:
modeltargets.advancedmodeltarget.all.vws-web-toolssupports requesting the advanced scope.Until steps 1 and 2 are done, the existing mock-only test with its documented rationale stays as the closest available coverage.