def METHOD_NAME():
    def run_playbook(playbook, context, *args, unknown_args=None, **kw):
        eq(unknown_args, [
            "-e", "code_version=def456",
            "-e", "keep_until=2020-01-12_03.04",
            "--tags=private_release",
        ])
        eq(context.environment.release_name, "2020-01-02_03.04")
        eq(kw.get("limit"), "django_manage")
        log.append(playbook)
        return 0
    log = []
    with patch.multiple(
        commcare,
        datetime=fakedatetime,
        run_ansible_playbook=run_playbook,
    ):
        _deploy_commcare("--private", "--keep-days=10")
    eq(log, ["deploy_hq.yml"])