aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2021-05-11 23:41:06 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2021-05-11 23:41:06 +0100
commitbf255aaf1edb82422d5aa90212b09af8a2a0e1e5 (patch)
treeee684f9f5bb0294fc5b2b113bfad70a5c65bc048
parentBump version and update changelog (diff)
downloadpaper2remarkable-bf255aaf1edb82422d5aa90212b09af8a2a0e1e5.tar.gz
paper2remarkable-bf255aaf1edb82422d5aa90212b09af8a2a0e1e5.zip
Disable test to fix CI
-rw-r--r--tests/test_html.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index 41f6b83..417e2e5 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -17,7 +17,12 @@ from paper2remarkable.utils import get_page_with_retry
class TestHTML(unittest.TestCase):
+ @unittest.skip("Broken test (other url needed)")
def test_experimental_fix_lazy_loading(self):
+ # 2021-05-11 NOTE: This is the only URL I know where the experimental
+ # lazy loading fix was useful. It no longer works because Readability
+ # strips out the images for this site. If anyone knows of a test case
+ # where the experimental fix makes a difference, let me know.
url = "https://www.seriouseats.com/2015/01/tea-for-everyone.html"
prov = HTML(upload=False, experimental=True)
page = get_page_with_retry(url, return_text=True)