Commit 9820e09
test(gooddata-eval): assert the verdict per malformed ranking filter
`assert ok == (len(errors) == 0)` was a tautology against an implementation that
returns exactly `len(errors) == 0, errors`, so the case list could not fail:
`attribute=[]` or `using=None` being accepted with ok=True would have gone
unnoticed. Each case now carries its expected verdict.
Confirmed non-vacuous by mutation: making a non-string `attribute` skip instead
of erroring now fails the test, where before it passed.
JIRA: QA-28615
risk: nonprod
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 483f4b4 commit 9820e09
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
136 | 141 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | | - | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
147 | | - | |
| 152 | + | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
0 commit comments