]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add test for unescaped values in patch detail page
authorDaniel Axtens <dja@axtens.net>
Fri, 5 Jul 2019 01:33:58 +0000 (11:33 +1000)
committerDaniel Axtens <dja@axtens.net>
Fri, 5 Jul 2019 01:33:58 +0000 (11:33 +1000)
commit95ccc2d4ded0a8f001ff93a45708df1519f6346b
tree4c2c60c060d5283ca686e430c7730fb465cc9d3e
parentc400741bae2477d8329a24b3498d059c28ced0d6
tests: Add test for unescaped values in patch detail page

Add a test to check whether we are escaping values from the Patch model on
the patch detail page.

This test shouldn't be relied upon as proof that we've escaped everything
correctly, but may help catch regressions.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
(backported from df80e690bcc32d483875dcb36b488764c89ec9b6)
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/tests/test_detail.py