()
| 126 | |
| 127 | |
| 128 | def test_exported_option_classes(): |
| 129 | classes = exported_option_classes |
| 130 | assert len(classes) >= 10 |
| 131 | for cls in classes: |
| 132 | # Option classes must have an introspectable constructor signature, |
| 133 | # and that signature should not have any *args or **kwargs. |
| 134 | sig = inspect.signature(cls) |
| 135 | for param in sig.parameters.values(): |
| 136 | assert param.kind not in (param.VAR_POSITIONAL, |
| 137 | param.VAR_KEYWORD) |
| 138 | |
| 139 | |
| 140 | @pytest.mark.filterwarnings( |