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

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed May 15, 2015
1 parent 41a5a2e commit e35d772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/py/test_billing_payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def test_payout_unreviewed(self, log):
self.make_participant('alice', claimed_time='now', is_suspicious=None,
balance=20, balanced_customer_href='foo',
last_ach_result='')
self.make_team(owner='alice', is_approved=True)
Payday.start().payout()
log.assert_any_call('UNREVIEWED: alice')

Expand All @@ -526,6 +527,7 @@ def test_payout_ach_error(self, ach_credit):
self.make_participant('alice', claimed_time='now', is_suspicious=False,
balance=20, balanced_customer_href='foo',
last_ach_result='')
self.make_team(owner='alice', is_approved=True)
ach_credit.return_value = 'some error'
Payday.start().payout()
payday = self.fetch_payday()
Expand Down

0 comments on commit e35d772

Please sign in to comment.