@@ -66,7 +66,7 @@ def test_disable_first_time_wizard(self):
6666 def test_edge_config_export_default_dest (self ):
6767 handle_response = 'Stream'
6868 self ._init_filer (handle_response = handle_response )
69- mock_get_dirpath = self .patch_call ("cterasdk.lib.filesystem.FileSystem.downloads_directory " ,
69+ mock_get_dirpath = self .patch_call ("cterasdk.lib.storage.commonfs.downloads " ,
7070 return_value = self ._default_download_directory )
7171 mock_save_file = self .patch_call ("cterasdk.lib.filesystem.FileSystem.save" )
7272 with mock .patch .object (datetime , 'datetime' , mock .Mock (wraps = datetime .datetime )) as patched :
@@ -80,9 +80,9 @@ def test_edge_config_export_default_dest(self):
8080 def test_edge_config_export_target_directory_default_filename (self ):
8181 handle_response = 'Stream'
8282 self ._init_filer (handle_response = handle_response )
83- mock_get_dirpath = self .patch_call ("cterasdk.lib.filesystem.FileSystem .split_file_directory" ,
83+ mock_get_dirpath = self .patch_call ("cterasdk.lib.storage.commonfs .split_file_directory" ,
8484 return_value = (self ._target_directory , None ))
85- mock_save_file = self .patch_call ("cterasdk.lib.filesystem.FileSystem.save " )
85+ mock_save_file = self .patch_call ("cterasdk.lib.storage.synfs.write " )
8686 with mock .patch .object (datetime , 'datetime' , mock .Mock (wraps = datetime .datetime )) as patched :
8787 patched .now .return_value = self ._current_datetime
8888 config .Config (self ._filer ).export (self ._target_directory )
0 commit comments