def test_add_metrics(self, aggregator):
        """
        Tests that add_metrics successfully adds an array of metrics to
        the configured aggregator.
        """
        now = 17
        metrics = [KeyValue("k", 1, now), Counter("j", 2)]
        Collector(aggregator)._add_metrics(metrics)

        assert metrics <= aggregator.metrics
dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_add_metrics/operator `==` -> `<=`