From 5682b8bc3d3fb89db03951ae30dfcb727e0741dd Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 5 Dec 2014 23:30:52 -0500 Subject: [PATCH] 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). --- test/functional/test_toolbox.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/functional/test_toolbox.py b/test/functional/test_toolbox.py index 302c746f8be..969ed622d42 100644 --- a/test/functional/test_toolbox.py +++ b/test/functional/test_toolbox.py @@ -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`