from neuroimaging.testing import *



from neuroimaging.algorithms.onesample import ImageOneSample
from neuroimaging.core.api import load_image
from neuroimaging.utils.tests.data import repository


class test_OneSample(TestCase):


    def data_setUp(self):
        pass
    
    @dec.slow
    @dec.data
    def test_onesample1(self):
        im1 = load_image('FIAC/fiac3/fonc3/fsl/fmristat_run/contrasts/speaker/effect.hdr',
            repository)
        im2 = load_image('FIAC/fiac4/fonc3/fsl/fmristat_run/contrasts/speaker/effect.hdr',
            repository)
        im3 = load_image('FIAC/fiac5/fonc2/fsl/fmristat_run/contrasts/speaker/effect.hdr',
            repository)
        x = ImageOneSample([im1,im2,im3], clobber=True)
        x.fit()




if __name__ == '__main__':
    run_module_suite()

@@ -406,35 +406,38 @@
 /speaker/effect.
-hdr
+nii.gz
 ',%0A            r
@@ -524,35 +524,38 @@
 /speaker/effect.
-hdr
+nii.gz
 ',%0A            r
@@ -654,11 +654,14 @@
 ect.
-hdr
+nii.gz
 ',%0A 

Fix data file reference.