aboutsummaryrefslogtreecommitdiff
path: root/tests/test_ui.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-10-27 22:50:35 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-10-27 22:50:35 +0100
commit244d0f51eb01086ff008c355cff8dba32eb58843 (patch)
treeec087aee1cb0edf8a67733482c27085fbc29cb48 /tests/test_ui.py
parentUse a cookiejar instead of empty dict (diff)
downloadpaper2remarkable-244d0f51eb01086ff008c355cff8dba32eb58843.tar.gz
paper2remarkable-244d0f51eb01086ff008c355cff8dba32eb58843.zip
Add provider for Nature
Diffstat (limited to 'tests/test_ui.py')
-rw-r--r--tests/test_ui.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_ui.py b/tests/test_ui.py
index 835f594..a1eb372 100644
--- a/tests/test_ui.py
+++ b/tests/test_ui.py
@@ -24,6 +24,7 @@ from paper2remarkable.providers import (
HTML,
JMLR,
LocalFile,
+ Nature,
NBER,
NeurIPS,
OpenReview,
@@ -180,6 +181,11 @@ class TestUI(unittest.TestCase):
"https://openaccess.thecvf.com/content_cvpr_2018/html/Cheng_Dual_Skipping_Networks_CVPR_2018_paper.html",
"https://openaccess.thecvf.com/content_cvpr_2018/html/Cheng_Dual_Skipping_Networks_CVPR_2018_paper.html",
),
+ (
+ Nature,
+ "https://www.nature.com/articles/s41599-019-0349-z",
+ "https://www.nature.com/articles/s41599-019-0349-z",
+ ),
]
for exp_prov, url, exp_url in tests:
prov, new_url, jar = choose_provider(url)