def METHOD_NAME(self) -> None:
    query = Query(
        match=Entity("org_sessions"),
        select=[Column("org_id"), Column("project_id")],
        groupby=[Column("org_id"), Column("project_id")],
        where=[
            Condition(
                Column("started"), Op.GTE, datetime.utcnow() - timedelta(hours=6)
            ),
            Condition(Column("started"), Op.LT, datetime.utcnow()),
        ],
        granularity=Granularity(3600),
    )
    request = Request(dataset="sessions", app_id="default", query=query)
    response = self.app.post(
        "/sessions/snql",
        data=json.dumps(request.to_dict()),
    )
    data = json.loads(response.data)
    assert response.status_code == 200, response.data
    assert len(data["data"]) == 2
    assert data["data"][0]["org_id"] == self.org_id
    assert data["data"][0]["project_id"] == self.project_id
    assert data["data"][1]["org_id"] == self.org_id
    assert data["data"][1]["project_id"] == self.project_id2