Skip to content

test: add regression coverage for media policy category constants#102

Merged
saurabhjain1592 merged 1 commit intomainfrom
fix/python-media-policycategory-enum
Feb 22, 2026
Merged

test: add regression coverage for media policy category constants#102
saurabhjain1592 merged 1 commit intomainfrom
fix/python-media-policycategory-enum

Conversation

@saurabhjain1592
Copy link
Copy Markdown
Member

Summary:

  • add a regression test ensuring CreateStaticPolicyRequest accepts CATEGORY_MEDIA_SAFETY
  • assert the value maps to PolicyCategory.MEDIA_SAFETY

Context:
Enum support is already present on latest main; this PR adds guard coverage so the prior review mismatch does not regress.

@saurabhjain1592 saurabhjain1592 merged commit 60b2150 into main Feb 22, 2026
13 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/python-media-policycategory-enum branch March 3, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant