bugfix: mobile added to some mails
This commit is contained in:
parent
9434752ebe
commit
8d997e88f1
|
@ -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': {
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue