File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ def test_pangaea_validation(self):
107
107
108
108
def test_datacite_validation (self ):
109
109
res = validate_any_from_microdata (
110
- input_url = "https://commons .datacite.org/doi.org /10.7892/boris.108387"
110
+ input_url = "https://api .datacite.org/application/vnd.schemaorg.ld+json /10.7892/boris.108387"
111
111
)
112
112
self .assertGreater (len (res [0 ]), 0 )
113
113
self .assertFalse (res [0 ]["https://doi.org/10.7892/boris.108387" ]["conforms" ])
114
114
self .assertEqual (
115
115
len (res [0 ]["https://doi.org/10.7892/boris.108387" ]["errors" ]), 2
116
116
)
117
117
self .assertEqual (
118
- len (res [0 ]["https://doi.org/10.7892/boris.108387" ]["warnings" ]), 11
118
+ len (res [0 ]["https://doi.org/10.7892/boris.108387" ]["warnings" ]), 12
119
119
)
120
120
121
121
@unittest .skip ("Deprecated, Profile.py should be used instead" )
You can’t perform that action at this time.
0 commit comments