Exemple #1
0
 def test_group_photo_or_karrot_logo_url_without_photo(self):
     group = GroupFactory()
     url = group_photo_or_karrot_logo_url(group)
     self.assertEqual(url, karrot_logo_url())
Exemple #2
0
 def test_default_header_image(self):
     email = karrot.groups.emails.prepare_user_inactive_in_group_email(
         self.user, self.group)
     html, _ = email.alternatives[0]
     self.assertIn(karrot_logo_url(), html)