Skip to content

Commit 55bd2e5

Browse files
committed
Fixed some unintentional wg list address changes, and added some other test mail address changes.
- Legacy-Id: 15994
1 parent 7c0616e commit 55bd2e5

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

ietf/doc/tests_charter.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_change_state(self):
6868
area = GroupFactory(type_id='area')
6969
RoleFactory(name_id='ad',group=area,person=Person.objects.get(user__username='ad'))
7070

71-
ames = GroupFactory(acronym='ames',state_id='proposed',list_email='ames-wg@example.org',parent=area)
71+
ames = GroupFactory(acronym='ames',state_id='proposed',list_email='ames-wg@ietf.org',parent=area)
7272
RoleFactory(name_id='ad',group=ames,person=Person.objects.get(user__username='ad'))
7373
RoleFactory(name_id='chair',group=ames,person__name=u'Ames Man',person__user__email='ameschairman@example.org')
7474
RoleFactory(name_id='secr',group=ames,person__name=u'Secretary',person__user__email='amessecretary@example.org')
@@ -133,7 +133,7 @@ def find_event(t):
133133
for word in ["Chairs", "Ames Man <ameschairman@example.org>",
134134
"Secretaries", "Secretary <amessecretary@example.org>",
135135
"Assigned Area Director", "Areað Irector <aread@example.org>",
136-
"Mailing list", "ames-wg@example.org",
136+
"Mailing list", "ames-wg@ietf.org",
137137
"Charter", "Milestones"]:
138138
self.assertIn(word, body)
139139

@@ -196,7 +196,7 @@ def test_already_open_charter_ballot(self):
196196
# does the unusual state sequence of: intrev --> extrev --> intrev
197197
area = GroupFactory(type_id='area')
198198
RoleFactory(name_id='ad',group=area,person=Person.objects.get(user__username='ad'))
199-
group = GroupFactory(acronym='ames',state_id='proposed',list_email='ames-wg@example.org',parent=area)
199+
group = GroupFactory(acronym='ames',state_id='proposed',list_email='ames-wg@ietf.org',parent=area)
200200
CharterFactory(group=group)
201201

202202
charter = group.charter
@@ -416,7 +416,7 @@ def test_submit_charter(self):
416416
"Windows line\nMac line\nUnix line\n" + utf_8_snippet)
417417

418418
def test_submit_initial_charter(self):
419-
group = GroupFactory(type_id='wg',acronym='mars',list_email='mars-wg@example.org')
419+
group = GroupFactory(type_id='wg',acronym='mars',list_email='mars-wg@ietf.org')
420420

421421
url = urlreverse('ietf.doc.views_charter.submit', kwargs=dict(name=charter_name_for_group(group)))
422422
login_testing_unauthorized(self, "secretary", url)
@@ -444,7 +444,7 @@ def test_submit_initial_charter(self):
444444
def test_edit_review_announcement_text(self):
445445
area = GroupFactory(type_id='area')
446446
RoleFactory(name_id='ad',group=area,person=Person.objects.get(user__username='ad'))
447-
charter = CharterFactory(group__parent=area,group__list_email='mars-wg@example.org')
447+
charter = CharterFactory(group__parent=area,group__list_email='mars-wg@ietf.org')
448448
group = charter.group
449449

450450
url = urlreverse('ietf.doc.views_charter.review_announcement_text', kwargs=dict(name=charter.name))
@@ -589,7 +589,7 @@ def test_edit_ballot_writeupnotes(self):
589589
def test_approve(self):
590590
area = GroupFactory(type_id='area')
591591
RoleFactory(name_id='ad',group=area,person=Person.objects.get(user__username='ad'))
592-
charter = CharterFactory(group__acronym='ames',group__list_email='ames-wg@example.org',group__parent=area,group__state_id='bof')
592+
charter = CharterFactory(group__acronym='ames',group__list_email='ames-wg@ietf.org',group__parent=area,group__state_id='bof')
593593
group = charter.group
594594
RoleFactory(name_id='chair',group=group,person__name=u'Ames Man',person__user__email='ameschairman@example.org')
595595
RoleFactory(name_id='secr',group=group,person__name=u'Secretary',person__user__email='amessecretary@example.org')
@@ -665,12 +665,12 @@ def test_approve(self):
665665
#
666666
self.assertTrue("WG Action" in outbox[1]['Subject'])
667667
self.assertTrue("ietf-announce" in outbox[1]['To'])
668-
self.assertTrue("ames-wg@example.org" in outbox[1]['Cc'])
668+
self.assertTrue("ames-wg@ietf.org" in outbox[1]['Cc'])
669669
body = outbox[1].get_payload()
670670
for word in ["Chairs", "Ames Man <ameschairman@example.org>",
671671
"Secretaries", "Secretary <amessecretary@example.org>",
672672
"Assigned Area Director", "Areað Irector <aread@example.org>",
673-
"Area Directors", "Mailing list", "ames-wg@example.org",
673+
"Area Directors", "Mailing list", "ames-wg@ietf.org",
674674
"Charter", "/doc/charter-ietf-ames/", "Milestones"]:
675675
self.assertIn(word, body)
676676

ietf/doc/tests_draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ def test_right_state_choices_offered(self):
13521352
class ChangeStreamStateTests(TestCase):
13531353
def test_set_tags(self):
13541354
role = RoleFactory(name_id='chair',group__acronym='mars',group__list_email='mars-wg@ietf.org',person__user__username='marschairman',person__name=u'WG Cháir Man')
1355-
RoleFactory(name_id='delegate',group=role.group,person__user__email='marsdelegate@ietf.org')
1355+
RoleFactory(name_id='delegate',group=role.group,person__user__email='marsdelegate@example.org')
13561356
draft = WgDraftFactory(group=role.group,shepherd=PersonFactory(user__username='plain',user__email='plain@example.com').email_set.first())
13571357
draft.tags.set(DocTagName.objects.filter(slug="w-expert"))
13581358
draft.group.unused_tags.add("w-refdoc")

ietf/secr/announcement/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def setUp(self):
2424
secretariat = Group.objects.get(acronym='secretariat')
2525
AnnouncementFrom.objects.create(name=secr,group=secretariat,address='IETF Secretariat <ietf-secretariat@ietf.org>')
2626
AnnouncementFrom.objects.create(name=chair,group=ietf,address='IETF Chair <chair@ietf.org>')
27-
AnnouncementFrom.objects.create(name=chair,group=iab,address='IAB Chair <iab-chair@ietf.org>')
27+
AnnouncementFrom.objects.create(name=chair,group=iab,address='IAB Chair <iab-chair@iab.org>')
2828

2929
def test_main(self):
3030
"Main Test"
@@ -49,7 +49,7 @@ def test_main_announce_from(self):
4949
self.assertEqual(r.status_code, 200)
5050
q = PyQuery(r.content)
5151
self.assertEqual(len(q('#id_frm option')),1)
52-
self.assertTrue('<iab-chair@ietf.org>' in q('#id_frm option').val())
52+
self.assertTrue('<iab-chair@iab.org>' in q('#id_frm option').val())
5353

5454
# IETF Chair
5555
self.client.login(username="ietf-chair", password="ietf-chair+password")

0 commit comments

Comments
 (0)