Skip to content

fix(test): drop pipeline_config from invalid-priming-group test#429

Merged
brandon-wada merged 1 commit intomainfrom
brandon/fix-priming-group-mutex-test
May 5, 2026
Merged

fix(test): drop pipeline_config from invalid-priming-group test#429
brandon-wada merged 1 commit intomainfrom
brandon/fix-priming-group-mutex-test

Conversation

@brandon-wada
Copy link
Copy Markdown
Collaborator

@brandon-wada brandon-wada commented May 5, 2026

Summary

  • The backend now rejects pipeline_config + priming_group_id together as mutually exclusive
  • test_create_detector_with_invalid_priming_group_id was passing both, so it now fails with a 400 ("mutually exclusive") instead of reaching the PG-lookup step that returns the 404 the test asserts on.
  • Drops pipeline_config from the call. The test still does what its docstring says: passing a fake priming_group_id and expecting a 404 mentioning PrimingGroup.

The backend now rejects pipeline_config + priming_group_id as mutually
exclusive (zuuul PR #6286), so the call no longer reaches the PG-lookup
step that this test is designed to exercise. Removing pipeline_config
restores the original 404 path.
@brandon-wada brandon-wada merged commit 4bae5f2 into main May 5, 2026
9 checks passed
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.

2 participants