def test_combine_tallies(self):
     self.changesets_tallied = {'Albert Chieu': {'changesets': 85}}
     self.issues_tallied =  {'Albert Chieu': {'issues_assigned': 22, 'issues_opened': 79, 'issues_completed': 13}}
     self.assertEqual(bitstats.combine_tallies(self.changesets_tallied, 
         self.issues_tallied), {'Albert Chieu': {'issues_assigned': 22, 'changesets': 85, 'issues_opened': 79, 'issues_completed': 13}})
 def test_combine_tally(self):
     self.changesets_tallied = {'David Leonard': {'changesets': 245}, 'accountname': {'changesets': 1}, 'Albert Chieu': {'changesets': 95}, 'Jorge Yau': {'changesets': 321}}
     self.issues_tallied = {'David Leonard': {'issues_assigned': 23, 'issues_comments': 46, 'issues_opened': 15, 'issues_completed': 20}, 'Albert Chieu': {'issues_assigned': 22, 'issues_comments': 126, 'issues_opened': 79, 'issues_completed': 13}, 'Jorge Yau': {'issues_assigned': 42, 'issues_comments': 42, 'issues_opened': 10, 'issues_completed': 35}}
     self.assertEqual(bitstats.combine_tallies(self.changesets_tallied, self.issues_tallied), {'David Leonard': {'issues_assigned': 23, 'changesets': 245, 'issues_comments': 46, 'issues_opened': 15, 'issues_completed': 20}, 'Jorge Yau': {'issues_assigned': 42, 'changesets': 321, 'issues_comments': 42, 'issues_opened': 10, 'issues_completed': 35}, 'Albert Chieu': {'issues_assigned': 22, 'changesets': 95, 'issues_comments': 126, 'issues_opened': 79, 'issues_completed': 13}, 'accountname': {'issues_assigned': 0, 'changesets': 1, 'issues_comments': 0, 'issues_opened': 0, 'issues_completed': 0}})