File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -437,13 +437,13 @@ def test_upload_nested(self):
437437 element0 = hdca ["elements" ][0 ]
438438 assert element0 ["element_identifier" ] == "samp1"
439439
440- @skip_if_github_down
441440 def test_upload_collection_from_url (self ):
442441 with self .dataset_populator .test_history (require_new = False ) as history_id :
443442 elements = [
444443 {
445444 "src" : "url" ,
446- "url" : "https://raw.githubusercontent.com/galaxyproject/galaxy/dev/test-data/4.bed" ,
445+ "url" : self .dataset_populator .base64_url_for_string ("hello world" ),
446+ "name" : "hello.txt" ,
447447 "info" : "my cool bed" ,
448448 }
449449 ]
@@ -462,8 +462,8 @@ def test_upload_collection_from_url(self):
462462 hdca = self ._assert_one_collection_created_in_history (history_id )
463463 assert len (hdca ["elements" ]) == 1 , hdca
464464 element0 = hdca ["elements" ][0 ]
465- assert element0 ["element_identifier" ] == "4.bed "
466- assert element0 ["object" ]["file_size" ] == 61
465+ assert element0 ["element_identifier" ] == "hello.txt "
466+ assert element0 ["object" ]["file_size" ] == 11
467467
468468 def test_upload_collection_deferred (self ):
469469 with self .dataset_populator .test_history (require_new = False ) as history_id :
You can’t perform that action at this time.
0 commit comments