Skip to content

Commit

Permalink
tests: properly skip CAT12 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defgsus committed Nov 8, 2023
1 parent 89cd2c7 commit 02af471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/modules/test_cat12.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from tests.base import BadTestCase


@unittest.skipIf(not config.CAT12_PATH.exists(), "CAT12 package not at it's place")
@unittest.skipIf(not config.MATLAB_PATH.exists(), "matlab not at it's place")
@unittest.skipIf(not config.CAT12_PATH or not config.CAT12_PATH.exists(), "CAT12 package not at it's place")
@unittest.skipIf(not config.MATLAB_PATH or not config.MATLAB_PATH.exists(), "matlab not at it's place")
class TestCat12Modules(BadTestCase):

def test_cat12_version(self):
Expand Down
4 changes: 2 additions & 2 deletions tests/modules/test_cat12_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from tests.base import BadTestCase


@unittest.skipIf(not config.CAT12_PATH.exists(), "CAT12 package not at it's place")
@unittest.skipIf(not config.MATLAB_PATH.exists(), "matlab not at it's place")
@unittest.skipIf(not config.CAT12_PATH or not config.CAT12_PATH.exists(), "CAT12 package not at it's place")
@unittest.skipIf(not config.MATLAB_PATH or not config.MATLAB_PATH.exists(), "matlab not at it's place")
class TestCat12PreprocessModule(BadTestCase):

@BadTestCase.tag_long()
Expand Down

0 comments on commit 02af471

Please sign in to comment.