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

Commit

Permalink
Shelve
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Aug 16, 2016
1 parent 91132c3 commit fc87663
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/py/test_billing_payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from gratipay.billing.exchanges import create_card_hold, MINIMUM_CHARGE
from gratipay.billing.payday import NoPayday, Payday
from gratipay.exceptions import NegativeBalance
from gratipay.models.participant import Participant
from gratipay.models.participant import Participant, WontTakeOverWithIdentities
from gratipay.models.team.mixins.takes import NotAllowed
from gratipay.testing import Foobar, D,P
from gratipay.testing.billing import BillingHarness
Expand Down Expand Up @@ -490,7 +490,11 @@ def test_take_over_during_payin(self):

# bruce takes over picard
bruce = self.make_participant('bruce', claimed_time='now')
bruce.take_over(('github', str(picard.id)), have_confirmation=True)
pytest.raises( WontTakeOverWithIdentities
, bruce.take_over
, ('github', str(picard.id))
, have_confirmation=True
)
payday.process_payment_instructions(cursor)

# billy takes over bruce
Expand Down

0 comments on commit fc87663

Please sign in to comment.