def test_nonivclient_encounters_yearly(self): aggregation = NonIvClientEncounters(self.yearly_report) key = make_key({'year': 2011}) tools.assert_equals(aggregation.get_val(key), 1)
def test_nonivclient_encounters_monthly(self): aggregation = NonIvClientEncounters(self.monthly_report) key = make_key({'month': 12}) tools.assert_equals(aggregation.get_val(key), 1)