Skip to content

Commit

Permalink
fix: adjust (useless) assertion in status_change test to reflect that…
Browse files Browse the repository at this point in the history
… the relevant relation points to an RFC
  • Loading branch information
rjsparks committed Jul 6, 2023
1 parent 799d3a1 commit 3486f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/doc/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ def test_status_change(self):
r = self.client.get(urlreverse("ietf.doc.views_doc.document_main", kwargs=dict(name=statchg.name)))
self.assertEqual(r.status_code, 200)
r = self.client.get(urlreverse("ietf.doc.views_doc.document_main", kwargs=dict(name=statchg.relateddocument_set.first().target.document)))
self.assertEqual(r.status_code, 302)
self.assertEqual(r.status_code, 200) # What was this even trying to prove?

def test_document_charter(self):
CharterFactory(name='charter-ietf-mars')
Expand Down

0 comments on commit 3486f38

Please sign in to comment.