We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b28ba8 commit 67c865bCopy full SHA for 67c865b
ibllib/tests/test_oneibl.py
@@ -126,7 +126,7 @@ def test_patch_datasets(self):
126
127
# Mock the post method of AlyxClient and assert that it was called during registration
128
with mock.patch.object(self.one.alyx, 'post') as rest_mock:
129
- rest_mock.side_effect = responses
+ rest_mock.side_effect = [[r] for r in responses]
130
self.globus_patcher.patch_datasets(file_list)
131
self.assertEqual(rest_mock.call_count, 2)
132
for call, file in zip(rest_mock.call_args_list, file_list):
0 commit comments