def test_parse_changesets_no_emails(self): """ Tests that parsing a changeset list without user emails returns a properly parsed list. """ self.assertEqual(bitchangesets.parse_changeset(self.changeset2), {'timestamp': '2013-07-27 01:56:46', 'parsed_author': 'David Leonard'})
def test_get_parse_not_empty(self): """ Tests that parsing changesets returns a non-empty list. """ self.assertEqual(bitchangesets.parse_changeset(self.changeset), {'timestamp': '2013-07-27 01:56:46', 'parsed_author': 'David Leonard'})