tests package

Submodules

tests.compare_headers module

tests.compare_headers.compare_geometry_headers(self, hdr, newhdr)[source]
tests.compare_headers.compare_headers(self, hdr, newhdr, uid=True)[source]
tests.compare_headers.compare_optional(self, a, b, attr)[source]
tests.compare_headers.compare_template_headers(self, hdr, newhdr, uid=True)[source]

tests.context module

tests.test_archive_file module

Test file archive

class tests.test_archive_file.TestArchiveFile(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_mimetype()[source]
test_new_archive()[source]
test_unknown_mimetype()[source]
test_unknown_url()[source]

tests.test_archive_zip module

Test zip archive

class tests.test_archive_zip.TestArchiveZip(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_mimetype()[source]
test_new_archive()[source]
test_unknown_mimetype()[source]
test_unknown_url()[source]

tests.test_axis module

class tests.test_axis.TestAxis(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_uniform_axis()[source]
test_uniform_length_axis()[source]
test_uniform_length_axis_step2()[source]
test_variable_axis()[source]
test_variable_axis2()[source]
test_variable_axis_rgb()[source]

tests.test_formats_dicom module

tests.test_formats_dicom_color module

tests.test_formats_dicom_template module

tests.test_formats_dicom_zip module

tests.test_formats_itk module

tests.test_formats_itk_template module

tests.test_formats_itk_zip module

tests.test_formats_mat module

tests.test_formats_mat_zip module

tests.test_formats_nifti module

tests.test_formats_nifti_zip module

tests.test_formats_ps module

tests.test_series module

tests.test_transport_dicomtransport module

tests.test_transport_filetransport module

Test file archive

class tests.test_transport_filetransport.TestFiletransport(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_isfile()[source]
test_open_file()[source]
test_open_new()[source]
test_open_nonexist()[source]
test_open_nonexist_dir()[source]
test_readfile()[source]
test_walk()[source]
test_write_then_read()[source]

tests.test_version module

class tests.test_version.TestVersion(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_version()[source]

Module contents