code: def test_deltas_week(es):
      customer_id = 0
      sessions_df = to_pandas(es["sessions"])
      sessions_df = sessions_df[
          sessions_df["customer_id"] == customer_id
      ]
      log_df = to_pandas(es["log"])
      log_df = log_df[log_df["session_id"].isin(sessions_df["id"])]
      all_times = log_df["datetime"].sort_values().tolist()
      delta_week = Timedelta(1, "w")
      delta_days = Timedelta(7, "d")
  
      assert all_times[0] + delta_days == all_times[0] + delta_week
  
imports: import pandas
  import pytest
  from dateutil.relativedelta import relativedelta
  from featuretools.entityset import Timedelta
  from featuretools.feature_base import Feature
  from featuretools.primitives import Count
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.wrangle import _check_timedelta
label_desc: Use image node_id 9 for calling a global function with example usage: test_deltas_week(es) without return types