@@ -43,9 +43,13 @@ def test_content_id(link, expected):
4343 "10.6084/m9.figshare.9782777.v1" ,
4444 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "1" },
4545 ),
46- (
46+ pytest . param (
4747 "10.6084/m9.figshare.9782777.v2" ,
4848 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "2" },
49+ # $ curl -sIL https://dx.doi.org/10.6084/m9.figshare.9782777.v2 | grep location
50+ # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/2
51+ # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
52+ marks = pytest .mark .xfail (reason = "Problem with figshare version redirects" ),
4953 ),
5054 (
5155 "https://doi.org/10.6084/m9.figshare.9782777.v1" ,
@@ -54,12 +58,13 @@ def test_content_id(link, expected):
5458 # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/1
5559 # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
5660 ),
57- (
61+ pytest . param (
5862 "https://doi.org/10.6084/m9.figshare.9782777.v3" ,
5963 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "3" },
6064 # $ curl -sIL https://doi.org/10.6084/m9.figshare.9782777.v3 | grep location
6165 # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/3
6266 # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
67+ marks = pytest .mark .xfail (reason = "Problem with figshare version redirects" ),
6368 ),
6469 (
6570 "https://figshare.com/articles/title/97827771234" ,
0 commit comments