Pytest parametrize unexpected keyword inspection¶
This inspection reports unsupported keyword arguments passed to pytest.mark.parametrize.
How to use it¶
Enable the inspection under Settings | BetterPy | Testing (Pytest) | Parametrize. BetterPy highlights misspelled or unsupported keyword names such as testids.
Notes¶
- Supported keyword arguments are
argnames,argvalues,indirect,ids,scope, and pytest's internal_param_markargument. - The feature is gated by the Pytest parametrize unexpected keyword setting.