1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Rewrote strip_tags test file to lorem ipsum.

This commit is contained in:
Adam Johnson
2022-03-06 10:08:05 +00:00
committed by Carlton Gibson
parent a8c15481f4
commit a45f28f0ec
6 changed files with 33 additions and 112 deletions

View File

@@ -129,7 +129,7 @@ class TestUtilsHtml(SimpleTestCase):
stripped = strip_tags(content)
elapsed = datetime.now() - start
self.assertEqual(elapsed.seconds, 0)
self.assertIn("Please try again.", stripped)
self.assertIn("Test string that has not been stripped.", stripped)
self.assertNotIn("<", stripped)
def test_strip_spaces_between_tags(self):