tests package
Submodules
tests.compare_headers module
tests.context module
tests.test_archive_file module
Test file archive
tests.test_archive_zip module
Test zip archive
tests.test_axis module
tests.test_formats_dicom module
- class tests.test_formats_dicom.TestWriteZipArchiveDicom(methodName='runTest')[source]
Bases:
TestCase
tests.test_formats_dicom_color module
tests.test_formats_dicom_template module
- class tests.test_formats_dicom_template.TestDicomGeometryTemplate(methodName='runTest')[source]
Bases:
TestCase
tests.test_formats_dicom_zip module
Test zip archive
tests.test_formats_itk module
Test writing data
tests.test_formats_itk_template module
tests.test_formats_itk_zip module
Test zip archive
tests.test_formats_mat module
tests.test_formats_mat_zip module
Test zip archive
tests.test_formats_nifti module
tests.test_formats_nifti_zip module
Test zip archive
tests.test_series module
tests.test_transport_dicomtransport module
- class tests.test_transport_dicomtransport.TestDicomTransport(methodName='runTest')[source]
Bases:
TestCase
- static handle_store(event)[source]
Store the pydicom Dataset ds.
- Parameters:
event (pydicom.event) –
- Returns:
status – The status returned to the peer AE in the C-STORE response. Must be a valid C-STORE status value for the applicable Service Class as either an
int
or aDataset
object containing (at a minimum) a (0000,0900) Status element.- Return type:
int or pydicom.dataset.Dataset
tests.test_transport_filetransport module
Test file archive