def test_preview_html(self): client = Client() response = client.get('/herald/0/html/') self.assertContains(response, '<html><body>Hello World</body></html>')