File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2381,14 +2381,15 @@ def test_markdown_and_text(self):
23812381class Idnits2SupportTests (TestCase ):
23822382
23832383 def test_obsoleted (self ):
2384- for i in range (2 ):
2385- rfc = WgRfcFactory ()
2386- WgRfcFactory (relations = [('obs' ,rfc )])
2384+ rfc = WgRfcFactory (alias2__name = 'rfc1001' )
2385+ WgRfcFactory (alias2__name = 'rfc1003' ,relations = [('obs' ,rfc )])
2386+ rfc = WgRfcFactory (alias2__name = 'rfc1005' )
2387+ WgRfcFactory (alias2__name = 'rfc1007' ,relations = [('obs' ,rfc )])
23872388
23882389 url = urlreverse ('ietf.doc.views_doc.idnits2_rfcs_obsoleted' )
23892390 r = self .client .get (url )
23902391 self .assertEqual (r .status_code , 200 )
2391- self .assertEqual (r .content ,b'1001 1003\n 1005 1007\n ' )
2392+ self .assertEqual (r .content , b'1001 1003\n 1005 1007\n ' )
23922393
23932394 def test_rfc_status (self ):
23942395 url = urlreverse ('ietf.doc.views_doc.idnits2_rfc_status' )
You can’t perform that action at this time.
0 commit comments