@attr('local')
def test_regex_urls():
  global tmp_dir
  seed_url = "http://localhost:8011/test/httpdownload.html"
  outdir = tmp_dir
  regex = ".*"

  output_files = []
  output_files = naarad.httpdownload.download_url_regex(seed_url, outdir, regex)

  print output_files
  print 'abc'
  output_file = os.path.join(outdir, 'test_httpdownload.pyc')
  assert os.path.exists(output_file), "File of %s does not exist! " % output_file
  output_file = os.path.join(outdir, 'test_httpdownload.py')
  assert os.path.exists(output_file), "File of %s does not exist! " % output_file
a seeding url, and a regex expression of urls
dataset/ETHPy150Open linkedin/naarad/test/test_httpdownload.py/test_regex_urls