aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_providers.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_providers.py b/tests/test_providers.py
index e256eec..80f4662 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -16,6 +16,7 @@ from paper2remarkable.providers import (
ACM,
Arxiv,
CiteSeerX,
+ HTML,
LocalFile,
NeurIPS,
OpenReview,
@@ -206,6 +207,13 @@ class TestProviders(unittest.TestCase):
filename = prov.run(url)
self.assertEqual(exp, os.path.basename(filename))
+ def test_html_1(self):
+ prov = HTML(upload=False, verbose=VERBOSE)
+ url = "https://hbr.org/2019/11/getting-your-team-to-do-more-than-meet-deadlines"
+ exp = "Getting_Your_Team_to_Do_More_Than_Meet_Deadlines.pdf"
+ filename = prov.run(url)
+ self.assertEqual(exp, os.path.basename(filename))
+
if __name__ == "__main__":
unittest.main()