Make GetProfileTest tests pass deteministically.

(Make sure users have at least one message in their stream.)

(imported from commit a6654447ae9a9626f5b3d5e01ffaa00dde17c79b)
This commit is contained in:
Steve Howell 2013-07-02 12:13:26 -04:00
parent 7b30a8e7c0
commit 86e89b66e7
1 changed files with 1 additions and 0 deletions

View File

@ -1677,6 +1677,7 @@ class GetProfileTest(AuthedTestCase):
def common_get_profile(self, email):
user_profile = self.get_user_profile(email)
self.send_message(email, "Verona", Recipient.STREAM, "hello")
api_key = self.get_api_key(email)
result = self.client.post("/api/v1/get_profile", {'email': email, 'api-key': api_key})