Skip galaxy.tools.watcher test if watchdog unavailable.

Instead of failing.
This commit is contained in:
John Chilton
2014-11-25 23:02:05 -05:00
parent e2a7b51d52
commit 2f5f2cc2df
+4
View File
@@ -9,6 +9,10 @@ from galaxy.util import bunch
def test_watcher():
if not watcher.can_watch:
from nose.plugins.skip import SkipTest
raise SkipTest()
with __test_directory() as t:
tool_path = path.join(t, "test.xml")
toolbox = Toolbox()