mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Rewrote strip_tags test file to lorem ipsum.
This commit is contained in:
committed by
Carlton Gibson
parent
a8c15481f4
commit
a45f28f0ec
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user