def start_server():
    """Start the Flask app used for integration testing."""
    try:
        sys.stderr = open(os.devnull, "w")
        env.process = multiprocessing.Process(target=start_flask_app, args=(env.host, env.port))
        env.process.daemon = True
        env.process.start()
        wait_until_start()
    except Exception as e:
        sys.stdout.write("Failed to start test server: %s\n\n" % e)
        sys.exit(1)
Start the Flask app used for integration testing.
tests/fake_webapp_server.py