forked from fwenzel/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug 570654] Giving FakeUser a FakeEmail and making build_avatars ski…
…p missing email addresses.
- Loading branch information
James Socol
committed
Jun 8, 2010
1 parent
0a3d36c
commit dc17012
Showing
2 changed files
with
8 additions
and
3 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,9 +35,11 @@ def get_fake_user(): | |
return User.objects.get(username='FakeUser') | ||
except User.DoesNotExist: | ||
tiki_user = TikiUser.objects.create( | ||
login='FakeUser', password='md5$pass', hash='md5$hash') | ||
login='FakeUser', password='md5$pass', hash='md5$hash', | ||
email='[email protected]') | ||
return User.objects.create( | ||
id=tiki_user.userId, username='FakeUser') | ||
id=tiki_user.userId, username='FakeUser', | ||
email='[email protected]') | ||
|
||
|
||
def get_django_user(tiki_thread): | ||
|
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