Skip to content

Commit

Permalink
Merge branch 'hotfix/6.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Fabbri committed Aug 12, 2022
2 parents e95c91e + 92e4872 commit aeffc3f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test_iblrig/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aeffc3f

Please sign in to comment.