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

Commit

Permalink
Teach test suite about participant.type; #449
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Apr 15, 2013
1 parent f913593 commit 69c24cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gittip/fake_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def fake_participant(is_admin=False, anonymous=False):
last_ach_result='',
is_suspicious=False,
last_bill_result='', # Needed to not be suspicious
claimed_time=faker.dateTimeThisYear()
claimed_time=faker.dateTimeThisYear(),
type="individual"
)


Expand Down
1 change: 1 addition & 0 deletions gittip/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def tearDown(self):
def make_participant(self, username, **kw):
participant = Participant( username=username
, username_lower=username.lower()
, type='individual'
, **kw
)
self.session.add(participant)
Expand Down

0 comments on commit 69c24cd

Please sign in to comment.