Skip to content

Commit a44bb87

Browse files
author
Peter Amstutz
committed
Skip arvados test if not configured
1 parent 5c306e1 commit a44bb87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import logging
1010
import sys
1111
import requests
12+
import pytest
1213

1314
pkg_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) # noqa
1415
sys.path.insert(0, pkg_root) # noqa
@@ -210,6 +211,7 @@ def test_local_wdl(self):
210211
self.assertTrue(self.check_for_file(outfile_path), 'Output file was not found: ' + str(outfile_path))
211212

212213

214+
@pytest.mark.skipif(not os.environ.get("ARVADOS_API_TOKEN"), "Arvados not configured")
213215
class ArvadosTest(IntegrationTest):
214216
"""Test using arvados-cwl-runner."""
215217

0 commit comments

Comments
 (0)