Skip to content

Commit 5478291

Browse files
committed
querying revisions with id will fail with new one release
1 parent de1837b commit 5478291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibllib/tests/test_oneibl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def tearDown(self) -> None:
632632
self.td.cleanup()
633633
self.one.alyx.rest('revisions', 'delete', id=self.rev['name'])
634634
self.one.alyx.rest('tags', 'delete', id=self.tag['name'])
635-
today_revision = self.one.alyx.rest('revisions', 'list', id=self.today_revision)
635+
today_revision = self.one.alyx.rest('revisions', 'list')
636636
today_rev = [rev for rev in today_revision if self.today_revision in rev['name']]
637637
for rev in today_rev:
638638
self.one.alyx.rest('revisions', 'delete', id=rev['name'])

0 commit comments

Comments
 (0)