File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ def test_view_brochure_view_with_wrong_signature_fails(client):
3333
3434def test_view_brochure_view (client ):
3535 sponsor_lead = SponsorLeadFactory (brochure_viewed = False , conference__code = "code" )
36- brochure = DocumentFactory ()
37- brochure .tags .add ("sponsorship-brochure" , sponsor_lead .conference .code )
3836
3937 other_brochure = DocumentFactory ()
4038 other_brochure .tags .add ("sponsorship-brochure" , "other-code" )
4139
40+ brochure = DocumentFactory ()
41+ brochure .tags .add ("sponsorship-brochure" , sponsor_lead .conference .code )
42+
4243 view_brochure_url_path = reverse ("view-brochure" , args = [sponsor_lead .id ])
4344 signer = Signer ()
4445 signature = signer .sign (view_brochure_url_path ).split (signer .sep )[- 1 ]
You can’t perform that action at this time.
0 commit comments