(self)
| 380 | |
| 381 | class help: |
| 382 | def setup_method(self): |
| 383 | @task( |
| 384 | help={ |
| 385 | "simple": "key", |
| 386 | "with_underscores": "yup", |
| 387 | "with-dashes": "also yup", |
| 388 | } |
| 389 | ) |
| 390 | def mytask(c, simple, with_underscores, with_dashes): |
| 391 | pass |
| 392 | |
| 393 | self.help = { |
| 394 | arg.name: arg.help for arg in mytask.get_arguments() |
| 395 | } |
| 396 | |
| 397 | def base_case(self): |
| 398 | assert self.help["simple"] == "key" |
nothing calls this directly
no test coverage detected