def METHOD_NAME(self):
    query = _make_query(
        "statsPeriod=6h&interval=10m&groupBy=category&field=sum(times_seen)",
        {"organization_id": 1},
        True,
    )
    assert Condition(Column("org_id"), Op.EQ, 1) in query.conditions
    query = _make_query(
        "statsPeriod=6h&interval=1d&groupBy=category&field=sum(times_seen)",
        {"organization_id": 1, "project_id": [1, 2, 3, 4, 5]},
        True,
    )
    assert Condition(Column("org_id"), Op.EQ, 1) in query.conditions
    assert Condition(Column("project_id"), Op.IN, [1, 2, 3, 4, 5]) in query.conditions