Commit 0e5fc9c
Stop ignoring
Drop `assignment` from the test override's `disable_error_code`. Two
issues surfaced, both fixed at the source. In `tests/unit/utils.py`,
`FakeAPI._request` widened a fixed-length tuple with `+=`; build each
tuple shape directly and append to `self.calls`. In
`tests/unit/osc/v1/fakes.py`, `osc_lib`'s `FakeClientManager.auth_ref`
is inferred as `None`, so direct assignment is rejected; use `setattr`
with a TODO pointing at the upstream fix.
Change-Id: Ideda1f4c71e70b86e8f04d1d2d8af40d538429ce
Signed-off-by: Karan Anand <anandkarancompsci@gmail.com>assignment in tests1 parent fae5aac commit 0e5fc9c
3 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | 71 | | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
0 commit comments