mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Mark test_toolbox:build_tests as "not a test".
This will prevent run_tests.sh from picking up the extra test when running full test tool box - the way planemo does (i.e. this fixes the problem where planemo always runs one extra passing test).
This commit is contained in:
@@ -5,6 +5,11 @@ from base.interactor import build_interactor, stage_data_in_history
|
||||
from galaxy.tools import DataManagerTool
|
||||
from galaxy.util import bunch
|
||||
import logging
|
||||
try:
|
||||
from nose.tools import nottest
|
||||
except ImportError:
|
||||
nottest = lambda x: x
|
||||
|
||||
log = logging.getLogger( __name__ )
|
||||
|
||||
toolbox = None
|
||||
@@ -82,6 +87,7 @@ class ToolTestCase( TwillTestCase ):
|
||||
raise
|
||||
|
||||
|
||||
@nottest
|
||||
def build_tests( app=None, testing_shed_tools=False, master_api_key=None, user_api_key=None ):
|
||||
"""
|
||||
If the module level variable `toolbox` is set, generate `ToolTestCase`
|
||||
|
||||
Reference in New Issue
Block a user