Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from bcipolli/fix_coverage
TST: fix coverage
- Loading branch information
Showing
25 changed files
with
101 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import Craddock2012Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class Craddock2012DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = Craddock2012Dataset | ||
from nidata.atlas import Craddock2012Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class Craddock2012InstallTest(InstallTestMixin, TestCase): | ||
class Craddock2012Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = Craddock2012Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
from unittest import TestCase | ||
|
||
from nidata.atlas import HarvardOxfordDataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class HarvardOxfordDownloadTest(DownloadTestMixin, TestCase): | ||
class HarvardOxfordTest(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = HarvardOxfordDataset | ||
|
||
def fetch(self, atlas_name='cort-maxprob-thr0-1mm', *args, **kwargs): | ||
super(HarvardOxfordDownloadTest, self).fetch( | ||
super(HarvardOxfordTest, self).fetch( | ||
atlas_name=atlas_name, *args, **kwargs) | ||
|
||
|
||
class HarvardOxfordInstallTest(InstallTestMixin, TestCase): | ||
dataset_class = HarvardOxfordDataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import ICBM152Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class ICBM152DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = ICBM152Dataset | ||
from nidata.atlas import ICBM152Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class ICBM152InstallTest(InstallTestMixin, TestCase): | ||
class ICBM152Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = ICBM152Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import MNI152Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class MNI152DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = MNI152Dataset | ||
from nidata.atlas import MNI152Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class MNI152InstallTest(InstallTestMixin, TestCase): | ||
class MNI152Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = MNI152Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import Power2011Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class Power2011DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = Power2011Dataset | ||
from nidata.atlas import Power2011Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class Power2011InstallTest(InstallTestMixin, TestCase): | ||
class Power2011Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = Power2011Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import Smith2009Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class Smith2009DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = Smith2009Dataset | ||
from nidata.atlas import Smith2009Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class Smith2009InstallTest(InstallTestMixin, TestCase): | ||
class Smith2009Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = Smith2009Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.atlas import Yeo2011Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class Yeo2011DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = Yeo2011Dataset | ||
from nidata.atlas import Yeo2011Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class Yeo2011InstallTest(InstallTestMixin, TestCase): | ||
class Yeo2011Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = Yeo2011Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
from unittest import TestCase | ||
|
||
from nidata.localizer import BrainomicsDataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class BrainomicsDownloadTest(DownloadTestMixin, TestCase): | ||
class BrainomicsTest(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = BrainomicsDataset | ||
|
||
def fetch(self, contrasts=('checkerboard',), *args, **kwargs): | ||
super(BrainomicsDownloadTest, self).fetch( | ||
super(BrainomicsTest, self).fetch( | ||
contrasts=contrasts, *args, **kwargs) | ||
|
||
|
||
class BrainomicsTest(InstallTestMixin, TestCase): | ||
dataset_class = BrainomicsDataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.multimodal import MyConnectome2015Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class MyConnectomeDownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = MyConnectome2015Dataset | ||
from nidata.multimodal import MyConnectome2015Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class MyConnectomeInstallTest(InstallTestMixin, TestCase): | ||
class MyConnectome2015Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = MyConnectome2015Dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.resting_state import AbidePcpDataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class AbidePcpDownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = AbidePcpDataset | ||
from nidata.resting_state import AbidePcpDataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class AbidePcpInstallTest(InstallTestMixin, TestCase): | ||
class AbidePcpTest(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = AbidePcpDataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from nidata.resting_state import AdhdRestDataset | ||
from unittest import TestCase | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class AdhdRestDownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = AdhdRestDataset | ||
from nidata.resting_state import AdhdRestDataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class AdhdRestInstallTest(InstallTestMixin, TestCase): | ||
class AdhdRestTest(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = AdhdRestDataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.resting_state import NyuRestDataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class NyuRestDownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = NyuRestDataset | ||
from nidata.resting_state import NyuRestDataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class NyuRestInstallTest(InstallTestMixin, TestCase): | ||
class NyuRestTest(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = NyuRestDataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from unittest import TestCase | ||
from nidata.task import Haxby2001Dataset | ||
from nidata.core._utils.testing import DownloadTestMixin, InstallTestMixin | ||
|
||
|
||
class Haxby2001DownloadTest(DownloadTestMixin, TestCase): | ||
dataset_class = Haxby2001Dataset | ||
from nidata.task import Haxby2001Dataset | ||
from nidata.core._utils.testing import InstallThenDownloadTestMixin | ||
|
||
|
||
class Haxby2001InstallTest(InstallTestMixin, TestCase): | ||
class Haxby2001Test(InstallThenDownloadTestMixin, TestCase): | ||
dataset_class = Haxby2001Dataset |
Oops, something went wrong.