def start_http_server():
  global port_test
  command = 'python -m SimpleHTTPServer %s &' % port_test
  os.system(command)
  time.sleep(1)
start a local http server for testing
dataset/ETHPy150Open linkedin/naarad/test/test_httpdownload.py/start_http_server