def METHOD_NAME(self):
    aggs = {"a": Aggregate.AVG, "b": ["weighted mean", "a"]}
    data = {"a": [1, 2, 3], "b": ["a", "b", "c"]}
    widget = PerspectiveWidget(data, aggregates=aggs)
    assert widget.aggregates == aggs