Skip to content

tests: Add unittest for SchemaEnumAdd, SchemaEnumRemove#9348

Open
Dhanus3133 wants to merge 3 commits into
opsmill:stablefrom
Dhanus3133:task/add-SchemaEnumAdd-SchemaEnumRemove-tests
Open

tests: Add unittest for SchemaEnumAdd, SchemaEnumRemove#9348
Dhanus3133 wants to merge 3 commits into
opsmill:stablefrom
Dhanus3133:task/add-SchemaEnumAdd-SchemaEnumRemove-tests

Conversation

@Dhanus3133
Copy link
Copy Markdown
Contributor

@Dhanus3133 Dhanus3133 commented May 25, 2026

Why

Unittests for SchemaEnumAdd, SchemaEnumRemove mutations were missing.

Closes #1553

What changed

Added tests for testing the SchemaEnumAdd & SchemaEnumRemove

How to test

uv run pytest backend/tests/component/graphql/mutations/test_schema.py

Checklist

  • Tests added/updated
  • Changelog entry added (uv run towncrier create ...)
  • External docs updated (if user-facing or ops-facing change)
  • Internal .md docs updated (internal knowledge and AI code tools knowledge)
  • I have reviewed AI generated content

Summary by cubic

Add unit tests for GraphQL SchemaEnumAdd and SchemaEnumRemove. Tests confirm options are added/removed with ok: true, final enums match expected lists, and the schema cache isn’t mutated in place.

Written for commit de5b879. Summary will update on new commits. Review in cubic

@Dhanus3133 Dhanus3133 requested a review from a team as a code owner May 25, 2026 15:27
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 25, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing Dhanus3133:task/add-SchemaEnumAdd-SchemaEnumRemove-tests (8fb28d2) with stable (edaeba7)

Open in CodSpeed

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.

task: Add unittests for SchemaEnumAdd & SchemaEnumRemove

1 participant