Commit c9cc1dec authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

mark more longtests, and another wxtest

parent 820ac264
......@@ -96,9 +96,11 @@ def _get_zero_mask(aimg):
def test_label_coord_query( seed): _test_query('coord', 'label')
def test_label_voxel_query( seed): _test_query('voxel', 'label')
def test_label_mask_query( seed): _test_query('mask', 'label')
def test_summary_coord_query(seed): _test_query('coord', 'prob', summary=True)
def test_summary_voxel_query(seed): _test_query('voxel', 'prob', summary=True)
def test_summary_mask_query( seed): _test_query('mask', 'prob', summary=True)
def test_prob_coord_query( seed): _test_query('coord', 'prob')
def test_prob_voxel_query( seed): _test_query('voxel', 'prob')
......@@ -46,6 +46,7 @@ def test_dumpatlases():
assert capture.stdout.strip() == '\n'.join(atlases)
def test_coords(seed):
"""Test the ohi -a "atlas" -c "coords" mode. """
......@@ -142,6 +143,7 @@ def test_bad_atlas():
assert capture.stdout.strip() == expected
def test_mask(seed):
"""Test the ohi -a "atlas" -m "mask" mode, with label and probabilistic
......@@ -70,6 +70,8 @@ def test_query_voxel(seed):
_test_query([t for t in tests if t[2] == 'voxel'])
def test_query_coord(seed):
_test_query([t for t in tests if t[2] == 'coordinate'])
def test_query_mask(seed):
_test_query([t for t in tests if t[2].startswith('mask')])
......@@ -63,6 +63,7 @@ def test_haveGui():
assert passed[0]
def test_wxatts():
with mock.patch.dict('sys.modules', wx=None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment