@staticmethod<EOL><INDENT>def get_file_from_url(url):<DEDENT>
tmp = url<EOL>for ch in ['<STR_LIT::>', '<STR_LIT:/>', '<STR_LIT:.>', '<STR_LIT:?>', '<STR_LIT:=>', '<STR_LIT:&>', '<STR_LIT:U+002C>']:<EOL><INDENT>if ch in tmp:<EOL><INDENT>tmp = tmp.replace(ch, '<STR_LIT:_>')<EOL><DEDENT><DEDENT>path_dir = path.join(path.dirname(<EOL>path.abspath(__file__)), '<STR_LIT>')<EOL>return path.join(path.join(path_dir, tmp))<EOL>
Return the file name used for testing, found in the test data folder
formed using the original url