コード例 #1
0
 def test_update_path_exists_on_user_cancel(self, utils_mock):
     with self.assertRaises(SystemExit):
         Utils.update_path('test')
コード例 #2
0
 def test_update_path_returns_path_on_create_directory_success(self, utils_mock):
     self.assertIsNone(Utils.update_path('test'))
コード例 #3
0
 def _prepare_fs(file_name):
     Utils.update_path(file_name)