mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Skip galaxy.tools.watcher test if watchdog unavailable.
Instead of failing.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user