Skip to content

Commit 98e77a7

Browse files
committed
Fix typo and test from previous commit to announcement tool. Commit ready for merge
- Legacy-Id: 18663
1 parent 81491dc commit 98e77a7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/secr/announcement/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def clean_cc(self):
127127
return cc
128128

129129
def clean_bcc(self):
130-
bcc = self.cleaned_data['cc']
130+
bcc = self.cleaned_data['bcc']
131131
try:
132132
bcc.encode('ascii')
133133
except UnicodeEncodeError:

ietf/secr/announcement/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def test_invalid_submit_non_ascii(self):
9292
'to_custom': '',
9393
'frm': 'IETF Secretariat <ietf-secretariat@ietf.org>',
9494
'cc': 'bob@example.com,\xa0joe@example.com',
95+
'bcc': '',
9596
'subject': 'Test Subject',
9697
'body': 'This is a test.'}
9798
self.client.login(username="secretary", password="secretary+password")

0 commit comments

Comments
 (0)