code: def test_interactions(interactions):
      (
          train_interactions,
          test_interactions,
          item_features,
          user_features,
      ) = interactions
      assert train_interactions.shape == (10, 10)
      assert test_interactions.shape == (10, 10)
      assert item_features.shape == (10, 19)
      assert user_features.shape == (10, 17)
  
file_path: recommenders/tests/unit/recommenders/models/test_lightfm_utils.py
imports: import pytest
  import itertools
  import numpy
  import pandas
  from lightfm.data import Dataset
  from lightfm import LightFM, cross_validation
  from recommenders.models.lightfm.lightfm_utils import track_model_metrics, similar_users, similar_items
label_desc: Use image node_id 7 for calling a global function with example usage: test_interactions(interactions) without return types