invitations: Fix lint errors in test_queue_workers.

This commit is contained in:
Rohitt Vashishtha 2017-12-07 11:15:18 +05:30 committed by Greg Price
parent 6787fbd547
commit 9c2a28b6df
1 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@ class WorkerTest(ZulipTestCase):
invitor = self.example_user('iago') invitor = self.example_user('iago')
prereg_alice = PreregistrationUser.objects.create( prereg_alice = PreregistrationUser.objects.create(
email=self.nonreg_email('alice'), referred_by=invitor, realm=invitor.realm) email=self.nonreg_email('alice'), referred_by=invitor, realm=invitor.realm)
prereg_bob = PreregistrationUser.objects.create( PreregistrationUser.objects.create(
email=self.nonreg_email('bob'), referred_by=invitor, realm=invitor.realm) email=self.nonreg_email('bob'), referred_by=invitor, realm=invitor.realm)
data = [ data = [
dict(prereg_id=prereg_alice.id, referrer_id=invitor.id, email_body=None), dict(prereg_id=prereg_alice.id, referrer_id=invitor.id, email_body=None),