We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d88af commit 7efb032Copy full SHA for 7efb032
tests/unit/sagemaker/local/test_local_utils.py
@@ -22,8 +22,10 @@
22
from sagemaker.session_settings import SessionSettings
23
24
25
+@patch("sagemaker.local.utils.os.path")
26
@patch("sagemaker.local.utils.os")
-def test_copy_directory_structure(m_os):
27
+def test_copy_directory_structure(m_os, m_os_path):
28
+ m_os_path.join.return_value = "/tmp/code/"
29
sagemaker.local.utils.copy_directory_structure("/tmp/", "code/")
30
m_os.makedirs.assert_called_with("/tmp/code/", exist_ok=True)
31
0 commit comments