def assertRevision(self, revision, author=None, message=None, subject=None,
                       branches=None):
        if author:
            self.assertEquals(author, revision.author)
        if message:
            self.assertIn(message, revision.message)
        if subject:
            self.assertIn(subject, revision.subject)
        if branches:
            self.assertListEqual(branches, revision.branches)
Asserts values of the given fields in the provided revision.
dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/asserts.py/VcsAsserts.assertRevision