def METHOD_NAME(patch_generate_cohort):
    main(["generate_cohort", "--output-format", "feather"])
    patch_generate_cohort.assert_any_call(
        "output",
        "study_definition",
        "",
        0,
        None,
        index_date_range="",
        skip_existing=False,
        output_format="feather",
        output_name="input",
        params={},
    )
    patch_generate_cohort.assert_any_call(
        "output",
        "study_definition_test",
        "_test",
        0,
        None,
        index_date_range="",
        skip_existing=False,
        output_format="feather",
        output_name="input",
        params={},
    )