Browse Source

[FIX] Tests

pull/1155/head
tarteo 7 years ago
parent
commit
4754eb7c75
  1. 2
      html_image_url_extractor/tests/test_extractor.py

2
html_image_url_extractor/tests/test_extractor.py

@ -65,5 +65,3 @@ class ExtractorCase(TransactionCase):
"""Bad HTML handled correctly.""" """Bad HTML handled correctly."""
for laps, text in self.imgs_from_html("<<bad>"): for laps, text in self.imgs_from_html("<<bad>"):
self.assertTrue(False) # You should never get here self.assertTrue(False) # You should never get here
with self.assertRaises(etree.ParserError):
list(self.imgs_from_html("<<bad>", fail=True))
Loading…
Cancel
Save