commit/galaxy-central: Dave Bouvier: Fix exception when a tool test attempts to add to a repeat parameter.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6f79d5ad4816/ Changeset: 6f79d5ad4816 User: Dave Bouvier Date: 2013-11-08 21:50:50 Summary: Fix exception when a tool test attempts to add to a repeat parameter. Affected #: 1 file diff -r 6f6d8009fc37318afb5c6c5c8f0ff6727a9a3917 -r 6f79d5ad4816efa4523ca942a28d8a8aa03fb68e test/base/twilltestcase.py --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -1182,6 +1182,7 @@ #control name doesn't exist, could be repeat repeat_startswith = control.name[0:-4] if repeat_startswith and not [ c_name for c_name in controls.keys() if c_name.startswith( repeat_startswith ) ] and [ c_name for c_name in kwd.keys() if c_name.startswith( repeat_startswith ) ]: + tc.browser.clicked( f, control ) tc.submit( control.name ) return self.submit_form( form_no=form_no, button=button, **kwd ) # Check for refresh_on_change attribute, submit a change if required @@ -1325,7 +1326,6 @@ tc.browser.clicked( tc.browser.get_form( 'tool_form' ), None ) # Submit the "repeat" form button to add an input) tc.submit( repeat_button ) - #print "button '%s' clicked" % repeat_button tc.find( 'runtool_btn' ) self.submit_form( **kwd ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org