for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from torchio.datasets import IXI, IXITiny
from ..utils import TorchioTestCase
class TestIXI(TorchioTestCase):
"""Tests for `ixi` module."""
def test_not_downloaded(self):
with self.assertRaises(RuntimeError):
IXI('testing123', download=False)
def test_tiny_not_downloaded(self):
IXITiny('testing123', download=False)