Relaxed time frame check in test_strip_tags
This commit is contained in:
parent
2f81a0ca65
commit
edc782b7b5
|
@ -85,7 +85,6 @@ class TestUtilsHtml(TestCase):
|
|||
stripped = html.strip_tags(fp.read())
|
||||
elapsed = datetime.now() - start
|
||||
self.assertEqual(elapsed.seconds, 0)
|
||||
self.assertLess(elapsed.microseconds, 100000)
|
||||
self.assertIn("Please try again.", stripped)
|
||||
self.assertNotIn('<', stripped)
|
||||
|
||||
|
|
Loading…
Reference in New Issue