From d683920cecf2cd877bf4e3b3453de6b7494bed12 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Thu, 1 Aug 2024 18:33:49 -0300 Subject: [PATCH] test: log in before pdfize test (#7778) --- ietf/doc/tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ietf/doc/tests.py b/ietf/doc/tests.py index 5d0bb9c4f9..5e5b741fe5 100644 --- a/ietf/doc/tests.py +++ b/ietf/doc/tests.py @@ -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):