Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Formats the result.

src/s/c/scales-HEAD/src/greplin/scales/aggregation_test.py   scales(Download)
    })
    agg.addSource('source1', {'a': {}})
    agg.result()
 
 
        }})
    agg.addSource('source1', {'a': {'200': 10, '302': 10, '404': 1, '500': 3}})
    result = agg.result()
    self.assertEquals(result['a']['success']['sum'], 20)
    self.assertEquals(result['a']['error']['sum'], 4)

src/s/c/scales-1.0.6/src/greplin/scales/aggregation_test.py   scales(Download)
    })
    agg.addSource('source1', {'a': {}})
    agg.result()
 
 
        }})
    agg.addSource('source1', {'a': {'200': 10, '302': 10, '404': 1, '500': 3}})
    result = agg.result()
    self.assertEquals(result['a']['success']['sum'], 20)
    self.assertEquals(result['a']['error']['sum'], 4)