code: def _test_just_padding(sequences):
      """
      There should be no rows with only padding in them.
      """
  
      row_sum = sequences.sum(axis=1)
  
      assert len(row_sum) == sequences.shape[0]
      assert np.all(row_sum > 0)
  
file_path: spotlight/tests/test_interactions.py
imports: import numpy
  import pytest
  from spotlight.cross_validation import random_train_test_split
  from spotlight.datasets import movielens
  from spotlight.interactions import Interactions
label_desc: Use image node_id 1 for calling a global function with example usage: _test_just_padding(sequences) without return types