code: def test_distance_args(dataset, date_col, knot_distance, request):
      df = request.getfixturevalue(dataset)
      date_array = df[date_col]
      knot_idx = get_knot_idx(
          num_of_obs=df.shape[0], knot_distance=knot_distance
      )
  
      assert knot_idx[0] == 0
      assert knot_idx[3] - knot_idx[2] == knot_distance
  
imports: import pytest
  import numpy
  import pandas
  from orbit.utils.knots import get_knot_idx, get_knot_dates
label_desc: Use image node_id 2 for calling a global function with example usage: test_distance_args(dataset, date_col, knot_distance, request) without return types