-
Notifications
You must be signed in to change notification settings - Fork 4
Implement a fix to the issue raised in #228 #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, either the conditionals need to use e.g. a plain boolean check to err out if transfer_dict
is an empty dict, or the transfer_map.get()
should default to None
and transfer_dict
be initialized as empty dict in the 'create' part of the else
case .
Perhaps this would benefit from having a test? |
That is a good shout, I guess the best place for it would be the existing |
Not sure how easy it is to in fact test this case in a meaningful way, but feel free to use either that existing test suite for |
…otransfer without the transfer_id against the datatransfer functionality throws the expected error to the user. Also makes tchanges to the datatransfer.py module to allow for this testing and linting recommendations
The latest commit makes additional changes that enables basic testing against the datatransfer functionality with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Looks good, and just a pedantic formal comment :)
I think we want at least the actual fix in shared/functionality/datatransfer.py
merged through svn or backported there and in edge/main.
…t amends and fixes an issue in the datatransfer module git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6229 b75ad72c-e7d7-11dd-a971-7dbc132099af
…t amends and fixes an issue in the datatransfer module git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6229 b75ad72c-e7d7-11dd-a971-7dbc132099af
Manually merged via svn and local git operations |
Aims to fix the issue raised in #228