fepegar / torchio
1 3
from torchio.datasets import IXI, IXITiny
2 3
from ..utils import TorchioTestCase
3

4

5 3
class TestIXI(TorchioTestCase):
6
    """Tests for `ixi` module."""
7

8 3
    def test_not_downloaded(self):
9 3
        with self.assertRaises(RuntimeError):
10 3
            IXI('testing123', download=False)
11

12 3
    def test_tiny_not_downloaded(self):
13 3
        with self.assertRaises(RuntimeError):
14 3
            IXITiny('testing123', download=False)

Read our documentation on viewing source code .

Loading