

def launch_server(directory):
    os.chdir('resources/repo')
    httpd = socketserver.TCPServer(('', 8000), http.server.SimpleHTTPRequestHandler)
    httpd.serve_forever()

dataset/ETHPy150Open dcos/dcos/pkgpanda/tests/utils.py launch_server/original