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 @@ -468,15 +468,15 @@ def test_add_tree(test_data_dir, tmpdir):
468468
469469def test_http_header (tmpdir ):
470470 crate = ROCrate ()
471- url = "https://zenodo. org/records/10782431/files/lysozyme_datasets.zip "
471+ url = "https://ftp.mozilla. org/pub/js/js-1.60.tar.gz "
472472 file_ = crate .add_file (url , validate_url = True )
473473 assert file_ .id == url
474474 out_path = tmpdir / 'ro_crate_out'
475475 crate .write (out_path )
476476 out_crate = ROCrate (out_path )
477477 out_file = out_crate .dereference (url )
478478 props = out_file .properties ()
479- assert props .get ("encodingFormat" ) == "application/octet-stream "
479+ assert props .get ("encodingFormat" ) == "application/x-tar "
480480 assert "sdDatePublished" in props
481481 with requests .head (url ) as response :
482482 assert props ["sdDatePublished" ] == response .headers .get ("last-modified" )
You can’t perform that action at this time.
0 commit comments