@@ -311,10 +311,10 @@ def test_make_sure_test_dicom_files_are_valid(self):
311311 self .oa .delete_all_content ()
312312
313313 dicoms = [
314- generate_test_dicom_file (width = 32 , height = 32 , tags = {'StudyInstanceUID' : '1.2.3' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, random_image_content = True ),
315- generate_test_dicom_file (width = 32 , height = 32 , tags = {'StudyInstanceUID' : '1.2.4' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, random_image_content = False ),
316- generate_test_dicom_file (width = 1024 , height = 1024 , tags = {'StudyInstanceUID' : '1.2.5' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, random_image_content = True ),
317- generate_test_dicom_file (width = 1024 , height = 1024 , tags = {'StudyInstanceUID' : '1.2.6' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, random_image_content = False )
314+ generate_test_dicom_file (width = 32 , height = 32 , tags = {'StudyInstanceUID' : '1.2.3' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, image_content = TestImageContent . RANDOM ),
315+ generate_test_dicom_file (width = 32 , height = 32 , tags = {'StudyInstanceUID' : '1.2.4' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, image_content = TestImageContent . FLAT ),
316+ generate_test_dicom_file (width = 1024 , height = 1024 , tags = {'StudyInstanceUID' : '1.2.5' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, image_content = TestImageContent . RANDOM ),
317+ generate_test_dicom_file (width = 1024 , height = 1024 , tags = {'StudyInstanceUID' : '1.2.6' , 'StudyDate' : to_dicom_date (datetime .date .today ())}, image_content = TestImageContent . FLAT )
318318 ]
319319 for dicom in dicoms :
320320 instances_ids = self .oa .upload (dicom )
0 commit comments