def METHOD_NAME(self, bk_user, project_id):
    t_view = TemplatesetsViewSet.as_view({'delete': 'delete'})
    request_post = factory.delete('/')
    force_authenticate(request_post, bk_user)
    try:
        t_view(request_post, project_id=project_id)
    except Exception:
        pass
    assert (
        UserActivityLog.objects.filter(
            project_id=project_id, user=bk_user.username, activity_type=ActivityType.Delete
        ).count()
        == 0
    )