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.TestDicomPlugin(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
- class tests.test_formats_dicom.TestDicomSlicing(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
- class tests.test_formats_dicom.TestDicomZipPlugin(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
- class tests.test_formats_dicom.TestWriteZipArchiveDicom(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
tests.test_formats_dicom_color module¶
tests.test_formats_dicom_template module¶
tests.test_formats_dicom_zip module¶
Test zip archive
tests.test_formats_itk module¶
Test writing data
- class tests.test_formats_itk.TestFileArchiveItk(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
- class tests.test_formats_itk.TestWritePluginITKSlice(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
tests.test_formats_itk_template module¶
tests.test_formats_itk_zip module¶
Test zip archive
tests.test_formats_mat module¶
- class tests.test_formats_mat.Test3DMatPlugin(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
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_formats_ps module¶
tests.test_series module¶
tests.test_transport_dicomtransport module¶
- class tests.test_transport_dicomtransport.TestDicomTransport(methodName='runTest')[source]¶
Bases:
unittest.case.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