Skip to content

Commit

Permalink
test: log in before pdfize test (#7778)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Aug 1, 2024
1 parent ca1b3e0 commit d683920
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ietf/doc/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3013,6 +3013,13 @@ def test_pdfized(self):
with (Path(dir) / f'{draft.name}-{r:02d}.txt').open('w') as f:
f.write('text content')

self.assertTrue(
login_testing_unauthorized(
self,
PersonFactory().user.username,
urlreverse(self.view, kwargs={"name": draft.name}),
)
)
self.should_succeed(dict(name=rfc.name))
self.should_succeed(dict(name=draft.name))
for r in range(0,2):
Expand Down

0 comments on commit d683920

Please sign in to comment.