Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pythondotorg-HEAD/jobs/tests/test_views.py   pythondotorg(Download)
        self.assertEqual(response['Location'], 'http://testserver/comments/posted/?c=1')
 
        mail_sent_queue.get(block=True)
        self.assertEqual(len(mail.outbox), 1)
 
        self.assertEqual(response['Location'], 'http://testserver/comments/posted/?c=2')
 
        mail_sent_queue.get(block=True)
        self.assertEqual(len(mail.outbox), 3)
        self.assertEqual(mail.outbox[1].to, [self.creator.email])