@@ -48,17 +48,28 @@ def mocked_get(req, context):
4848 "10.6084/m9.figshare.9782777.v1" ,
4949 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "1" },
5050 ),
51- (
51+ pytest . param (
5252 "10.6084/m9.figshare.9782777.v2" ,
5353 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "2" },
54+ # $ curl -sIL https://dx.doi.org/10.6084/m9.figshare.9782777.v2 | grep location
55+ # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/2
56+ # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
57+ marks = pytest .mark .xfail (reason = "Problem with figshare version redirects" ),
5458 ),
5559 (
5660 "https://doi.org/10.6084/m9.figshare.9782777.v1" ,
5761 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "1" },
62+ # $ curl -sIL https://doi.org/10.6084/m9.figshare.9782777.v1 | grep location
63+ # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/1
64+ # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
5865 ),
59- (
66+ pytest . param (
6067 "https://doi.org/10.6084/m9.figshare.9782777.v3" ,
6168 {"host" : test_fig .hosts [0 ], "article" : "9782777" , "version" : "3" },
69+ # $ curl -sIL https://doi.org/10.6084/m9.figshare.9782777.v3 | grep location
70+ # location: https://figshare.com/articles/Binder-ready_openSenseMap_Analysis/9782777/3
71+ # location: https://figshare.com/articles/code/Binder-ready_openSenseMap_Analysis/9782777
72+ marks = pytest .mark .xfail (reason = "Problem with figshare version redirects" ),
6273 ),
6374 (
6475 "https://figshare.com/articles/title/97827771234" ,
0 commit comments