def setUp(self):
     # Create a revision author that doesn't have a user yet.
     super(TestNewlyValidatedEmailsLinkRevisionAuthors, self).setUp()
     with dbuser("branchscanner"):
         self.author = RevisionSet()._createRevisionAuthor(
             '"Harry Potter" <*****@*****.**>')
     # Reget the revision author as we have crossed a transaction boundary.
     self.author = RevisionAuthor.byName(self.author.name)
 def setUp(self):
     # Create a revision author that doesn't have a user yet.
     super(TestNewlyValidatedEmailsLinkRevisionAuthors, self).setUp()
     with dbuser("branchscanner"):
         self.author = RevisionSet()._createRevisionAuthor(
             '"Harry Potter" <*****@*****.**>')
     # Reget the revision author as we have crossed a transaction boundary.
     self.author = RevisionAuthor.byName(self.author.name)