chol
/
eva
forked from tohe/eva
1
0
Fork 0

bugfix: mobile added to some mails

This commit is contained in:
Benni Bärmann 2021-11-17 16:29:27 +01:00
parent 9434752ebe
commit 8d997e88f1
2 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,7 @@ MAILS = {
'OFFICE': {
'MAIL': 'office@wikimedia.de',
'DATA': [
'transponder', 'special', 'post_office_box', 'sim', 'sim2',
'transponder', 'special', 'post_office_box', 'mobile',
'works_in_gs', 'desk',
],
},
@ -34,7 +34,7 @@ MAILS = {
'CENTRAL': {
'MAIL': 'eileen.miedtank@wikimedia.de',
'DATA': [
'department', 'team', 'language', 'sim', 'sim2', 'rebu2go'
'department', 'team', 'language', 'mobile', 'rebu2go'
],
},
'HR': {

View File

@ -89,8 +89,11 @@ class LoginTestCase(TestCase):
def test_mail(self):
self.test_wizzard_in()
# print(mail.outbox)
# print(mail.outbox[0].body)
self.assertGreater(len(mail.outbox), 2)
self.assertIn("Vorname", mail.outbox[0].body)
for i in (0,1,3):
self.assertIn("Handy", mail.outbox[i].body)
self.assertIn("Ara Seva", mail.outbox[0].subject)
class NoLoginTestCase(TestCase):