Commit 5d0c7cd
committed
test: Improve enum testing in
Refactor `test_enums_in_friendly_mod` in `comtypes/test/test_client.py` to:
- Utilize a parameterized approach to test both `Scripting.StandardStreamTypes`
and `WindowsInstaller.MsiInstallState`.
- Verify enum member presence and value consistency between the generated
enum types and `comtypes.client.Constants`.
- Employ `subTest` for granular failure reporting in parameterized tests.test_client.py.1 parent eea9c0d commit 5d0c7cd
1 file changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | 273 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
280 | 300 | | |
281 | 301 | | |
282 | 302 | | |
| |||
0 commit comments