Revision b130ec7c snf-astakos-app/astakos/im/tests/projects.py

b/snf-astakos-app/astakos/im/tests/projects.py
151 151
        r = self.user_client.post(post_url, data=application_data, follow=True)
152 152
        app2_id = ProjectApplication.objects.filter().order_by('pk')[1].pk
153 153

  
154

  
154 155
        # no more applications (LIMIT is 2)
155 156
        r = self.user_client.get(reverse('project_add'), follow=True)
156 157
        self.assertRedirects(r, reverse('project_list'))
......
230 231
        newlimit = user_quotas[self.member.uuid]['system'][resource]['limit']
231 232
        # 200 - 100 from project
232 233
        self.assertEqual(newlimit, 100)
234

  
235
        # support email gets rendered in emails content
236
        for mail in get_mailbox('user@synnefo.org'):
237
            self.assertTrue(settings.CONTACT_EMAIL in \
238
                            mail.message().as_string())

Also available in: Unified diff