code: def test_bandwidth_fix(tmp_resource_spec_with_bandwidth):
      r = ResourceSpec(resource_file=tmp_resource_spec_with_bandwidth)
      assert r.network_bandwidth["1.1.1.1"] == 123
      assert r.network_bandwidth["2.2.2.2"] == 456
  
imports: from autodist.resource_spec import ResourceSpec
  import pytest
  import os
  import textwrap
label_desc: Use image node_id 3 for calling a global function with example usage: test_bandwidth_fix(tmp_resource_spec_with_bandwidth) without return types