docstr: Tests that function handle both local and gstorage paths in one list.
docstr_tok: ["Tests","that","function","handle","both","local","and","gstorage","paths","in","one","list","."]
code: def test_more_paths_in_list_handling(
      self, download_from_gstorage_function
  ):
      """Tests that function handle both local and gstorage paths in one list."""
      paths = cloud.make_file_paths_local(
          [
              "gs://bucket-name/bucket/dir/first_file.gin",
              "local_file.gin",
              "gs://bucket-name/bucket/dir/second_file.gin",
          ],
          "gin/search/path",
      )
      self.assertEqual(download_from_gstorage_function.call_count, 2)
      download_from_gstorage_function.assert_has_calls(
          [
              mock.call(
                  "gs://bucket-name/bucket/dir/first_file.gin", mock.ANY
              ),
              mock.call(
                  "gs://bucket-name/bucket/dir/second_file.gin",
                  mock.ANY,
              ),
          ]
      )
      self.assertListEqual(
          paths, ["first_file.gin", "local_file.gin", "second_file.gin"]
      )
  
file_path: ddsp/ddsp/training/cloud_test.py
imports: from unittest import mock
  from ddsp.training import cloud
  import tensorflow.compat.v2
label_desc: Use image node_id 4 for calling the MakeFilePathsLocalTest obj's underlying member method code with example usage: obj.test_more_paths_in_list_handling(download_from_gstorage_function) without return types