def METHOD_NAME():
    """Create fake data files and a test client."""
    data_dir = tempfile.mkdtemp()
    static_dir = tempfile.mkdtemp()
    _create_tmp_data_files(data_dir)
    _create_tmp_static_files(static_dir)
    tp_web_app.config["STATIC_PATH"] = static_dir
    tp_web_app.config["DATA_PATH"] = data_dir
    tp_web_app.config["TESTPLAN_REPORT_NAME"] = "report.json"
    tp_web_app.config["TESTING"] = True
    tp_web_app.static_folder = os.path.abspath(
        os.path.join(
            tp_web_app.config["STATIC_PATH"], "testing", "build", "static"
        )
    )
    client = tp_web_app.test_client()
    yield client
    shutil.rmtree(data_dir)
    shutil.rmtree(static_dir)