code: def test_copy_directory_structure(m_os, m_os_path):
      m_os_path.exists.return_value = False
      sagemaker.local.utils.copy_directory_structure("/tmp/", "code/")
      m_os.makedirs.assert_called_with("/tmp/", "code/")
  
imports: from __future__ import absolute_import
  import os
  import errno
  import pytest
  import json
  from mock import patch, Mock, mock_open
  import sagemaker.local.utils
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 1 for calling a global function with example usage: test_copy_directory_structure(m_os, m_os_path) without return types