File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1215,7 +1215,7 @@ def test_doc_change_shepherd_writeup(self):
12151215 r = self .client .post (url ,dict (txt = test_file ,reset_text = "1" ))
12161216 self .assertEqual (r .status_code , 200 )
12171217 q = PyQuery (r .content )
1218- self .assertTrue (q ('textarea' )[0 ].text .strip ().startswith ("As required by RFC 4858 " ))
1218+ self .assertTrue (q ('textarea' )[0 ].text .strip ().startswith ("# Document Shepherd Writeup " )) # TODO: This is a poor test of whether the reset did anything
12191219
12201220 def test_edit_doc_extresources (self ):
12211221 url = urlreverse ('ietf.doc.views_draft.edit_doc_extresources' , kwargs = dict (name = self .docname ))
@@ -1928,4 +1928,4 @@ def test_stream_state_changes_when_replaced(self):
19281928 self .assertEqual (r .status_code ,302 )
19291929 old_doc = Document .objects .get (name = old_doc .name )
19301930 self .assertEqual (old_doc .get_state_slug ('draft' ),'repl' )
1931- self .assertEqual (old_doc .get_state_slug ('draft-stream-%s' % stream ),'repl' )
1931+ self .assertEqual (old_doc .get_state_slug ('draft-stream-%s' % stream ),'repl' )
You can’t perform that action at this time.
0 commit comments