Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Adds the given source's stats.

src/s/c/scales-1.0.6/src/greplin/scales/aggregation_test.py   scales(Download)
      }
    })
    agg.addSource('source1', {'a': {}})
    agg.result()
 
            ('error', re.compile("[4-5][0-9][0-9]")):  [aggregation.Sum(dataFormat = aggregation.DataFormats.DIRECT)]
        }})
    agg.addSource('source1', {'a': {'200': 10, '302': 10, '404': 1, '500': 3}})
    result = agg.result()
    self.assertEquals(result['a']['success']['sum'], 20)

src/s/c/scales-HEAD/src/greplin/scales/aggregation_test.py   scales(Download)
      }
    })
    agg.addSource('source1', {'a': {}})
    agg.result()
 
            ('error', re.compile("[4-5][0-9][0-9]")):  [aggregation.Sum(dataFormat = aggregation.DataFormats.DIRECT)]
        }})
    agg.addSource('source1', {'a': {'200': 10, '302': 10, '404': 1, '500': 3}})
    result = agg.result()
    self.assertEquals(result['a']['success']['sum'], 20)