Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jaspar L. <[email protected]>
  • Loading branch information
nichtsfrei and y0urself authored Dec 10, 2020
1 parent d71d508 commit 315cc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_report_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def test_workaround_for_inline_svg_and_weasyprint(html_contains):

def test_dynamic_template():
subtype = "html"
css_key = 'vulnerability_report_{}_css'.format(subtype)
template_key = 'vulnerability_report_{}_template'.format(subtype)
css_key = f'vulnerability_report_{subtype}_css'
template_key = f'vulnerability_report_{subtype}_template'
client = APIClient()
url = reverse(
'put_parameter',
Expand Down

0 comments on commit 315cc3c

Please sign in to comment.