Commits

Jason R. Coombs committed c14fe62

Patch test so that it still matches the expected output, even when spaces are elided from otherwise blank lines in the source.

Comments (0)

Files changed (1)

cherrypy/test/test_tutorials.py

             </body>
             </html>
         '''
+        # the tutorial has some annoying spaces in otherwise blank lines
+        msg = msg.replace('</h2>\n\n', '</h2>\n        \n')
+        msg = msg.replace('</p>\n\n', '</p>\n        \n')
         self.getPage("/another/")
         self.assertBody(msg)