code: def test_upgrade_dashboard():
      """
      ensure that dashboard upgrade operation produces a correct dashboard object
      """
      converted_dashboard = deepcopy(dashboard_v1)
      filters, filter_sets = upgrade_dashboard(converted_dashboard)
      assert filters == 1
      assert filter_sets == 1
      assert dashboard_v2 == converted_dashboard
  
imports: from copy import deepcopy
  from importlib import import_module
label_desc: Use image node_id 1 for calling a global function with example usage: test_upgrade_dashboard() without return types