We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2b950 commit 0847e8aCopy full SHA for 0847e8a
tests/test_views.py
@@ -22,8 +22,8 @@ def test_preview_renders_html(self):
22
23
self.assertEqual(self.snippet.html, "<h1>Test Title</h1><br><p>Test paragraph</p>")
24
self.assertEqual(response.status_code, 200)
25
- # Removing html escaping, means the content is rendered including the tags on the page, but also means that the
26
- # response will contain character entity references.
+ # Removing html escaping, means the content is rendered including the tags on the page, but also means that
+ # the response will contain character entity references.
27
self.assertContains(response, "<h1>Test Title</h1><br><p>Test paragraph</p>")
28
29
def test_preview_raises_404_no_snippet(self):
0 commit comments