code: def test_setting_py_value_to_dict():
      config = C.cntk_py.Dictionary()
  
      for value in [True, False]:
          config["cacheIndex"] = value
          assert config["cacheIndex"] == value
  
      for traceLevel in [1, 2]:
          config["traceLevel"] = traceLevel
          assert config["traceLevel"] == traceLevel
  
imports: import numpy
  import pytest
  import cntk
  from multiprocessing import Process, Queue
label_desc: Use image node_id 18 for calling a global function with example usage: test_setting_py_value_to_dict() without return types