This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4097 from gratipay/fix-fakename-trip-up
Fix for #3722
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,8 @@ def test_fake_participant_identity(self): | |
crusher = self.make_participant('crusher', email_address='[email protected]') | ||
country_id = fake_data.fake_participant_identity(crusher) | ||
assert [x.country.id for x in crusher.list_identity_metadata()] == [country_id] | ||
|
||
def test_fake_team_doesnt_fail_for_name_with_apostrophe(self): | ||
crusher = self.make_participant('crusher', email_address='[email protected]') | ||
team = fake_data.fake_team(self.db, crusher, "D'Amorebury") | ||
assert team.name != "d-amorebury" |