def test_tracking_interface():
    """Test the feature tracking module interface."""

    from pysteps.tracking import lucaskanade
    from pysteps.tracking import tdating

    method_getter = pysteps.tracking.interface.get_method

    valid_names_func_pair = [
        ("lucaskanade", lucaskanade.track_features),
        ("tdating", tdating.dating),
    ]

    invalid_names = ["lucas-kanade", "dating"]
    _generic_interface_test(method_getter, valid_names_func_pair, invalid_names)
Test the feature tracking module interface.
pysteps/tests/test_interfaces.py