Skip to content

Commit

Permalink
async is shakey
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Mathie committed Jun 1, 2016
1 parent dea1d25 commit 14ef752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_flask_mailgun.py
Expand Up @@ -125,6 +125,7 @@ class ReceiveMessageSyncTest(ReceiveMessageCallbacksTest):
def test_receive_message(self):
response = self.appclient.post('/upload', data=self.email)
self.assertEqual(response.status_code, 200)
time.sleep(1)
self.assertEqual(self.receve_email_mock.call_count, 1)
self.assertEqual(self.attachment_mock.call_count, 1)
print "reveved email"
Expand Down

0 comments on commit 14ef752

Please sign in to comment.