code: def test_list_empty(sagemaker_session):
      sagemaker_session.sagemaker_client.list_contexts.return_value = {
          "ContextSummaries": []
      }
      assert [] == list(
          context.Context.list(sagemaker_session=sagemaker_session)
      )
  
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  import pytest
  from sagemaker.lineage import context, _api_types
  from sagemaker.lineage.action import Action
  from sagemaker.lineage.lineage_trial_component import LineageTrialComponent
  from sagemaker.lineage.query import LineageQueryDirectionEnum
label_desc: Use image node_id 8 for calling a global function with example usage: test_list_empty(sagemaker_session) without return types