| 412 | pass |
| 413 | |
| 414 | class Plugin1: |
| 415 | def new_schema_validator(self, schema, schema_type, schema_type_path, schema_kind, config, plugin_settings): |
| 416 | assert schema_type.__name__ == 'foo' |
| 417 | assert schema_type_path == SchemaTypePath( |
| 418 | 'tests.test_plugins', 'test_plugin_path_validate_call.<locals>.foo' |
| 419 | ) |
| 420 | assert schema_kind == 'validate_call' |
| 421 | return CustomOnValidatePython(), None, None |
| 422 | |
| 423 | plugin = Plugin1() |
| 424 | with install_plugin(plugin): |
no outgoing calls