Commit d950288
committed
🧪 Set parameter sources in label test
`test_validate_label_uniqueness` constructs a `click.Context`
manually and sets `ctx.params` directly. After the switch to
`resolve_param`, the helper checks `get_parameter_source`
before reading `ctx.params`, so the test must also register
sources for the parameters it provides.1 parent 740f99e commit d950288
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| 667 | + | |
667 | 668 | | |
668 | 669 | | |
669 | 670 | | |
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
| 674 | + | |
| 675 | + | |
673 | 676 | | |
674 | 677 | | |
675 | 678 | | |
| |||
0 commit comments