Commit efa71bb
fix(tests): fix lightwell readonly group permission tests (#1315)
Use GroupsUsersApi to explicitly add users to the read-only group
instead of passing groups during UsersApi creation (which is silently
ignored by pulpcore's UserSerializer). Use DomainsApi bindings for
domain listing instead of a manually-constructed URL that 404s when
DOMAIN_ENABLED=True.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0e17f73 commit efa71bb
2 files changed
Lines changed: 13 additions & 8 deletions
File tree
- pulp_service/pulp_service/tests/functional
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
| |||
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
222 | | - | |
| 227 | + | |
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
226 | 231 | | |
227 | | - | |
228 | | - | |
| 232 | + | |
229 | 233 | | |
230 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
231 | 237 | | |
232 | | - | |
233 | | - | |
| 238 | + | |
234 | 239 | | |
0 commit comments