check_metadata_routing_get_metadata_routing¶
yohou.testing.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 an owner set
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
estimator_fitted
|
BaseForecaster | BaseActualTransformer
|
A fitted estimator instance |
required |
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If get_metadata_routing implementation is incorrect |