Fork me on GitHub

pyhrf.test.iotest module

class pyhrf.test.iotest.DataLoadTest(methodName='runTest')

Bases: unittest.case.TestCase

test_frmi_vol()

Test volumic data loading

test_paradigm_csv()
test_paradigm_csv2()
test_paradigm_csv3()
test_paradigm_csv4()
class pyhrf.test.iotest.FileHandlingTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_split4DVol()
test_split_ext()
class pyhrf.test.iotest.GiftiTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_load_fmri_surf_data()

Test surfacic data loading

test_read_default_real_data_tiny()
test_read_tex_gii_label()
test_write_tex_gii_2D_float()
test_write_tex_gii_float()
test_write_tex_gii_labels()
test_write_tex_gii_time_series()
class pyhrf.test.iotest.NiftiTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_process_history_extension()
class pyhrf.test.iotest.RxCopyTest(methodName='runTest')

Bases: unittest.case.TestCase

assert_file_exists(fn, test_exists=True)
setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_advanced()
test_basic()
test_callback()
test_dry()
test_duplicates_targets()
test_missing_tags_dest_basename()
test_missing_tags_dest_folder()
test_replacement()
test_with_subfolders()
class pyhrf.test.iotest.SPMIOTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_load_regnames_SPM12()
test_load_regnames_SPM5()
test_load_regnames_SPM8()
class pyhrf.test.iotest.xndarrayIOTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_save_nii_3D()
test_save_nii_4D()
test_save_nii_multi()