File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 4
4
[pytest]
5
5
addopts = --doctest-modules
6
6
+testpaths = heuristics tests
7
+ --- a/tests/test_heuristics.py
8
+ +++ b/tests/test_heuristics.py
9
+ @@ -16,6 +16,9 @@ try:
10
+ except ImportError: # pragma: no cover
11
+ Dataset = None
12
+
13
+ +if not os.path.exists(os.path.join(os.path.dirname(__file__), os.path.pardir, 'heuristics')):
14
+ + from unittest import SkipTest
15
+ + raise SkipTest("We are testing out of source, no heuristics directory available")
16
+
17
+ def test_smoke_converall(tmpdir):
18
+ heudiconv.main(
19
+ @@ -103,4 +106,4 @@ def test_ls(stdout):
20
+ heudiconv.main(args)
21
+ out = stdout.getvalue()
22
+ assert 'StudySessionInfo(locator=' in out
23
+ - assert 'Halchenko/Yarik/950_bids_test4' in out
24
+ \ No newline at end of file
25
+ + assert 'Halchenko/Yarik/950_bids_test4' in out
You can’t perform that action at this time.
0 commit comments