Skip to content
Snippets Groups Projects
Commit c9cc1dec authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

mark more longtests, and another wxtest

parent 820ac264
No related branches found
No related tags found
No related merge requests found
......@@ -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')
@pytest.mark.longtest
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)
@pytest.mark.longtest
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)
@pytest.mark.longtest
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
@pytest.mark.longtest
def test_mask(seed):
"""Test the ohi -a "atlas" -m "mask" mode, with label and probabilistic
atlases.
......
......@@ -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'])
@pytest.mark.longtest
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]
@pytest.mark.wxtest
def test_wxatts():
with mock.patch.dict('sys.modules', wx=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment