'Verify that after 50 messages, no more are sent.'

def test_send_message_ratelimited(self):

    for i in range(53):
        self.client.post(reverse('messages.new', locale='en-US'), {'to': self.user2.username, 'message': ('hi    there    %s' % i)})
    eq_(50, OutboxMessage.objects.filter(sender=self.user1).count())
