Exemplo n.º 1
0
 def test_new_author(self):
     # Importing a different committer adds it as an author.
     author = "Another Author <*****@*****.**>"
     self.commitRevision(committer=author)
     self.syncAndCount(new_revisions=1, new_numbers=1, new_authors=1)
     db_author = RevisionAuthor.selectOneBy(name=author)
     self.assertEquals(db_author.name, author)
Exemplo n.º 2
0
 def test_new_author(self):
     # Importing a different committer adds it as an author.
     author = "Another Author <*****@*****.**>"
     self.commitRevision(committer=author)
     self.syncAndCount(new_revisions=1, new_numbers=1, new_authors=1)
     db_author = RevisionAuthor.selectOneBy(name=author)
     self.assertEquals(db_author.name, author)