From 92e4872ea6380cfc3a4b348f0978c29dda2a0e9c Mon Sep 17 00:00:00 2001 From: Michele Fabbri Date: Fri, 12 Aug 2022 17:27:10 +0100 Subject: [PATCH] removal of skip test exception for ONE versioning --- test_iblrig/test_scripts.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test_iblrig/test_scripts.py b/test_iblrig/test_scripts.py index 7f3a38e86..2ff5a9646 100644 --- a/test_iblrig/test_scripts.py +++ b/test_iblrig/test_scripts.py @@ -4,20 +4,15 @@ from one.api import ONE +from scripts.ibllib.purge_rig_data import purge_local_data, session_name from test_iblrig import OPENALYX_PARAMETERS -try: # If an AssertionError is thrown on import, ONE-api is less than v1.13.0 - from scripts.ibllib.purge_rig_data import purge_local_data, session_name -except AssertionError: - SKIP_PURGE_TEST = True - class TestScripts(unittest.TestCase): def setUp(self) -> None: self.tempdir = tempfile.TemporaryDirectory() self.addCleanup(self.tempdir.cleanup) - @unittest.skipIf(SKIP_PURGE_TEST, "Skipping test_purge_rig_data, ONE-api is lower than v1.13.0") def test_purge_rig_data(self): # Setup out test root = Path(self.tempdir.name)