docstr: Return the file name used for testing, found in the test data folder
  formed using the original url
docstr_tok: ["Return","the","file","name","used","for","testing",",","found","in","the","test","data","folder","formed","using","the","original","url"]
code: def get_file_from_url(url):
      """
      Return the file name used for testing, found in the test data folder
      formed using the original url
      """
      tmp = url
      for ch in [":", "/", ".", "?", "=", "&", ","]:
          if ch in tmp:
              tmp = tmp.replace(ch, "_")
      path_dir = path.join(
          path.dirname(path.abspath(__file__)), "test_data/"
      )
      return path.join(path.join(path_dir, tmp))
  
imports: from ..alpha_vantage.alphavantage import AlphaVantage
  from ..alpha_vantage.timeseries import TimeSeries
  from ..alpha_vantage.techindicators import TechIndicators
  from ..alpha_vantage.sectorperformance import SectorPerformances
  from ..alpha_vantage.foreignexchange import ForeignExchange
  from ..alpha_vantage.fundamentaldata import FundamentalData
  from pandas import DataFrame, Timestamp
  import unittest
  import sys
  import collections
  from os import path
  import requests_mock
label_desc: Use image node_id 1 for calling the TestAlphaVantage obj's underlying member method code with example usage: obj.get_file_from_url(url) and returns: path