def test_counts_multiple_datapoints(self):
    self.metric_cache.store('foo', (123456, 1.0))
    self.metric_cache.store('foo', (123457, 2.0))
    self.metric_cache.store('bar', (123458, 3.0))
    self.assertTrue(('foo', 2) in self.metric_cache.counts)
    self.assertTrue(('bar', 1) in self.metric_cache.counts)
dataset/ETHPy150Open graphite-project/carbon/lib/carbon/tests/test_cache.py/MetricCacheTest.test_counts_multiple_datapoints/original