@@ -866,10 +866,9 @@ def test_generate_study_list(self):
866866 USER ('shared@foo.bar' ), 'test_study_1' , info = info )
867867
868868 snew_info = {
869- 'status' : 'sandbox' , ' study_title' : 'test_study_1' ,
869+ 'study_title' : 'test_study_1' ,
870870 'metadata_complete' : True , 'publication_pid' : [],
871871 'artifact_biom_ids' : [], 'autoloaded' : False ,
872- 'ebi_submission_status' : 'not submitted' ,
873872 'study_id' : new_study .id , 'ebi_study_accession' : None ,
874873 'owner' : 'Shared' , 'shared' : [],
875874 'study_abstract' : 'Some abstract goes here' ,
@@ -943,8 +942,6 @@ def _avoid_duplicated_tests(all_artifacts=False):
943942
944943 # make artifacts of prep 2 public
945944 PREP (2 ).artifact .visibility = 'public'
946- exp1 [0 ]['status' ] = 'public'
947- exp_both [0 ]['status' ] = 'public'
948945 _avoid_duplicated_tests ()
949946
950947 # make artifacts of prep 1 awaiting_approval
@@ -977,10 +974,10 @@ def test_generate_study_list_without_artifacts(self):
977974 qdb .user .User ('shared@foo.bar' ), 'test_study_1' , info = info )
978975
979976 exp_info = [
980- {'status' : 'private' , ' study_title' : (
977+ {'study_title' : (
981978 'Identification of the Microbiomes for Cannabis Soils' ),
982979 'metadata_complete' : True , 'publication_pid' : [
983- '123456' , '7891011' ], 'ebi_submission_status' : 'submitted' ,
980+ '123456' , '7891011' ],
984981 'study_id' : 1 , 'ebi_study_accession' : 'EBI123456-BB' ,
985982 'autoloaded' : False ,
986983 'study_abstract' : (
@@ -996,9 +993,9 @@ def test_generate_study_list_without_artifacts(self):
996993 'lifecycle.' ), 'pi' : ('PI_dude@foo.bar' , 'PIDude' ),
997994 'publication_doi' : ['10.100/123456' , '10.100/7891011' ],
998995 'study_alias' : 'Cannabis Soils' , 'number_samples_collected' : 27 },
999- {'status' : 'sandbox' , ' study_title' : 'test_study_1' ,
996+ {'study_title' : 'test_study_1' ,
1000997 'metadata_complete' : True , 'publication_pid' : [],
1001- 'ebi_submission_status' : 'not submitted' , ' autoloaded' : False ,
998+ 'autoloaded' : False ,
1002999 'study_id' : new_study .id , 'ebi_study_accession' : None ,
10031000 'study_abstract' : 'Some abstract goes here' ,
10041001 'pi' : ('lab_dude@foo.bar' , 'LabDude' ), 'publication_doi' : [],
@@ -1284,7 +1281,6 @@ def test_purge_filepaths_test(self):
12841281 'study_id' : 1 ,
12851282 'owner' : 'Dude' ,
12861283 'study_alias' : 'Cannabis Soils' ,
1287- 'status' : 'private' ,
12881284 'study_abstract' :
12891285 'This is a preliminary study to examine the microbiota '
12901286 'associated with the Cannabis plant. Soils samples '
@@ -1300,7 +1296,6 @@ def test_purge_filepaths_test(self):
13001296 'metadata_complete' : True ,
13011297 'autoloaded' : False ,
13021298 'ebi_study_accession' : 'EBI123456-BB' ,
1303- 'ebi_submission_status' : 'submitted' ,
13041299 'study_title' :
13051300 'Identification of the Microbiomes for Cannabis Soils' ,
13061301 'number_samples_collected' : 27 ,
0 commit comments