check_metadata_routing_get_metadata_routing¶
yohou.testing.common.check_metadata_routing_get_metadata_routing(estimator_fitted)
¶
Check that get_metadata_routing() is implemented correctly.
Tests: - Method exists and returns MetadataRouter or MetadataRequest - Router has correct owner - Router includes child estimators if applicable
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
estimator_fitted
|
BaseForecaster | BaseTransformer
|
A fitted estimator instance |
required |
Raises¶
| Type | Description |
|---|---|
AssertionError
|
If get_metadata_routing implementation is incorrect |