code: def test_snapshot_created_on_management_api_invoke():
      """
      Validates that snapshot.cfg is created when management apis are invoked.
      """
      snapshot_created_on_management_api_invoke()
      assert len(glob.glob("logs/config/*snap*.cfg")) == 1
  
imports: import platform
  import time
  import os
  import glob
  import requests
  import json
  import test_utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_snapshot_created_on_management_api_invoke() without return types