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

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

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
  def test_invite_request_email(self):
    api.invite_request_email(api.ROOT, self.celebrity_nick, 'foo@bar.com')
    self.assertEqual(len(mail.outbox), 1)
    self.assertEqual(mail.outbox[0].subject,
        'Cele Brity invited you to %s' % (settings.SITE_NAME))

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
  def test_invite_request_email(self):
    api.invite_request_email(api.ROOT, self.celebrity_nick, 'foo@bar.com')
    self.assertEqual(len(mail.outbox), 1)
    self.assertEqual(mail.outbox[0].subject,
        'Cele Brity invited you to %s' % (settings.SITE_NAME))

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
  def test_invite_request_email(self):
    api.invite_request_email(api.ROOT, self.celebrity_nick, 'foo@bar.com')
    #TODO (zero): uses a different way to test email
    #self.assertEqual(len(mail.outbox), 1)
    #self.assertEqual(mail.outbox[0].subject,