From 9eb82ba7b389b52356ce1d7fd264ee7e991e5c52 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Tue, 6 Aug 2024 09:34:34 -0300 Subject: [PATCH] test general skip --- .../extractors/tests/test_iblextractors.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/spikeinterface/extractors/tests/test_iblextractors.py b/src/spikeinterface/extractors/tests/test_iblextractors.py index c7c2dfacae..70d371a015 100644 --- a/src/spikeinterface/extractors/tests/test_iblextractors.py +++ b/src/spikeinterface/extractors/tests/test_iblextractors.py @@ -19,12 +19,15 @@ def setUpClass(cls): from one.api import ONE cls.eid = EID - cls.one = ONE( - base_url="https://openalyx.internationalbrainlab.org", - password="international", - silent=True, - cache_dir=None, - ) + try: + cls.one = ONE( + base_url="https://openalyx.internationalbrainlab.org", + password="international", + silent=True, + cache_dir=None, + ) + except: + pytest.skip("Skipping test due to server being down.") try: cls.recording = read_ibl_recording(eid=cls.eid, stream_name="probe00.ap", one=cls.one) except requests.exceptions.HTTPError as e: