(parser, **kw)
| 330 | def test_custom_argument(self): |
| 331 | @locust.events.init_command_line_parser.add_listener |
| 332 | def _(parser, **kw): |
| 333 | parser.add_argument("--custom-bool-arg", action="store_true", help="Custom boolean flag") |
| 334 | parser.add_argument( |
| 335 | "--custom-string-arg", |
| 336 | help="Custom string arg", |
| 337 | ) |
| 338 | |
| 339 | options = get_parser().parse_args( |
| 340 | args=[ |
nothing calls this directly
no test coverage detected