Esempio n. 1
0
 def test_remove_markup(self):
     """
     Test for markup removal with bleach.
     """
     self.assertEqual(
         remove_markup(
             "The <mark>Truth</mark> is <em>Out There</em> & you need to <strong>find</strong> it"
         ), "The Truth is Out There &amp; you need to find it")
Esempio n. 2
0
 def test_remove_markup(self):
     """
     Test for markup removal with bleach.
     """
     self.assertEqual(
         remove_markup("The <mark>Truth</mark> is <em>Out There</em> & you need to <strong>find</strong> it"),
         "The Truth is Out There &amp; you need to find it"
     )
Esempio n. 3
0
 def test_remove_markup(self):
     """
     Test for markup removal with bleach.
     """
     assert remove_markup('The <mark>Truth</mark> is <em>Out There</em> & you need to <strong>find</strong> it') ==\
            'The Truth is Out There &amp; you need to find it'