def test_add_metrics(self, aggregator):
        now = 17
        metrics = [KeyValue("k", 1, now), Counter("j", 2)]
        Collector(aggregator)._add_metrics(metrics)

        assert metrics == aggregator.metrics
Creates a guest snapshot.
dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_add_metrics--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/Guest.snapshot