code: def test_single_process(tmp_resource_spec):
      from autodist import AutoDist
  
      AutoDist(resource_spec_file=tmp_resource_spec)
      with pytest.raises(NotImplementedError):
          AutoDist(resource_spec_file=tmp_resource_spec)
  
imports: import pytest
  import textwrap
label_desc: Use image node_id 2 for calling a global function with example usage: test_single_process(tmp_resource_spec) without return types