Skip to content

Commit

Permalink
Skip DataManagerIntegrationTestCase when watchdog library is not avai…
Browse files Browse the repository at this point in the history
…lable
  • Loading branch information
mvdbeek committed Sep 15, 2017
1 parent 2d844a8 commit ee3c378
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/test_data_manager_table_reload.py
Expand Up @@ -3,6 +3,9 @@
import shutil
import string
import tempfile

from nose.plugins.skip import SkipTest

from base import integration_util
from base.populators import DatasetPopulator

Expand Down Expand Up @@ -55,6 +58,10 @@ def setUp(self):

@classmethod
def handle_galaxy_config_kwds(cls, config):
try:
import watchdog
except ImportError:
raise SkipTest("watchdog library is not available")
cls.username = cls.get_secure_ascii_digits()
cls.conda_tmp_prefix = tempfile.mkdtemp()
cls.shed_tools_dir = tempfile.mkdtemp()
Expand Down

0 comments on commit ee3c378

Please sign in to comment.