Commit f6a3517
Add not_params to ModularPipelineTesterMixin (#14207)
Pipelines sometimes deliberately drop a canonical param — e.g. guidance-distilled
pipelines don't accept negative_prompt. Test classes can now declare these in
not_params and test_pipeline_call_signature asserts they are absent from the
pipeline's inputs, so reintroducing one by accident fails the test.
Adopted in the flux2-klein test classes (negative_prompt).
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 8eac6ad commit f6a3517
2 files changed
Lines changed: 11 additions & 0 deletions
File tree
- tests/modular_pipelines
- flux2
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
179 | 188 | | |
180 | 189 | | |
181 | 190 | | |
| |||
0 commit comments