Skip to content

Commit

Permalink
fix unit test after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Dec 16, 2024
1 parent 754f9c7 commit 9ac6f10
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ def testUpdateSites(self):
# now let's test transferor error
self.msTransferor.storage = '/bla'
res = self.msTransferor.updateSites(rec)
err = MSTransferorStorageError('storage error', **rec)
err = MSTransferorStorageError("[Errno 2] No such file or directory: '/bla/testWorkflow'", **rec)
self.assertEqual(res, [err.error()])
self.assertEqual(err.code, 2)


if __name__ == '__main__':
Expand Down

0 comments on commit 9ac6f10

Please sign in to comment.