Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Properly add email during make_participant
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed May 31, 2017
1 parent ee79a9f commit fc36e0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gratipay/testing/harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ def make_participant(self, username, **kw):
route = ExchangeRoute.insert(participant, 'paypal', '[email protected]')
route.update_error(kw.pop('last_paypal_result'))

# Handle email address
if 'email_address' in kw:
self.add_and_verify_email(participant, kw.pop('email_address'))

# Update participant
verified_in = kw.pop('verified_in', [])
if kw:
Expand Down

0 comments on commit fc36e0c

Please sign in to comment.