Exemplo 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")
Exemplo 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"
     )
Exemplo 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'