We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b1c10f commit a8780dcCopy full SHA for a8780dc
1 file changed
ietf/doc/tests.py
@@ -1305,9 +1305,8 @@ def test_edit_authors_edit_fields(self):
1305
basis=change_reason
1306
)
1307
1308
- old_email = new_email = draft.authors()[0].email()
1309
- while new_email == old_email:
1310
- new_email = EmailFactory(person=draft.authors()[0])
+ old_address = draft.authors()[0].email()
+ new_email = EmailFactory(person=draft.authors()[0], address=f'changed-{old_address}')
1311
post_data['author-0-email'] = new_email.address
1312
post_data['author-1-affiliation'] = 'University of Nowhere'
1313
post_data['author-2-country'] = 'Chile'
0 commit comments