- u'<h3>Update: 20 August 2011 @ 1:30pm</h3>\n'
- u'<p>I was confused as to the definition of idempotent. It would\n'
- u'be more accurate to describe the transaction as reversible.</p>'
+ document.excerpt(), document.html
def test_asterisk_horizontal_rule(self, document):
self.assertEqual(document.html, u'<p>Text.</p>\n<p>More text.</p>')
+ 2. ###Update: 20 August 2011 @ 1:30pm (America/Los_Angeles)
+ Neque. Praesent rhoncus.
+ def test_updates_in_lists(self, document):
+ self.assertEqual(document.html.count(u'<ol>'), 1)
+ self.assertEqual(document.html.count(u'<li>'), 3)
# This code is taken from http://stackoverflow.com/questions/1615406
# Django already runs these, don't include them again