We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024e98d commit b881c64Copy full SHA for b881c64
1 file changed
ietf/idrfc/testsREDESIGN.py
@@ -1339,13 +1339,11 @@ def test_doc_change_iesg_note(self):
1339
q = PyQuery(r.content)
1340
self.assertEquals(len(q('form.edit-iesg-note')),1)
1341
1342
- # No validation code to test
1343
-
1344
- # post - testing that the munge code exists in note.clean...
1345
- r = self.client.post(url,dict(note='ZpyQFGmA\nZpyQFGmA'))
+ # post
+ r = self.client.post(url,dict(note='ZpyQFGmA\r\nZpyQFGmA'))
1346
self.assertEquals(r.status_code,302)
1347
self.doc = Document.objects.get(name=self.docname)
1348
- self.assertEquals(self.doc.note,'ZpyQFGmA<br>ZpyQFGmA')
+ self.assertEquals(self.doc.note,'ZpyQFGmA\nZpyQFGmA')
1349
self.assertTrue('ZpyQFGmA' in self.doc.latest_event(DocEvent,type='added_comment').desc)
1350
1351
def test_doc_change_ad(self):
0 commit comments