code: def test_bandwidth_default(resource_spec_path):
      r = ResourceSpec(resource_file=resource_spec_path)
      assert r.num_cpus >= 0
      for k in r.node_cpu_devices:
          # by default it is set as 1
          assert r.network_bandwidth[k] == 1
  
imports: from autodist.resource_spec import ResourceSpec
  import pytest
  import os
  import textwrap
label_desc: Use image node_id 1 for calling a global function with example usage: test_bandwidth_default(resource_spec_path) without return types