1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b72d967e0cf4/ Changeset: b72d967e0cf4 User: Dave Bouvier Date: 2013-07-22 19:14:58 Summary: Wrap the repository type select in form tags so that Twill will correctly parse the HTML on the browse repository files page. This resolves failing functional tests in the test_0440_deleting_dependency_definitions script. Affected #: 2 files diff -r 559effee9eb7a5b0b78fea2df900e35dd5cf7d04 -r b72d967e0cf4a506f0bfbcef0f068fe1709659e9 templates/webapps/tool_shed/repository/browse_repository.mako --- a/templates/webapps/tool_shed/repository/browse_repository.mako +++ b/templates/webapps/tool_shed/repository/browse_repository.mako @@ -46,7 +46,9 @@ ${render_clone_str( repository )} </div> %endif - ${render_repository_type_select_field( repository_type_select_field, render_help=False )} + <form name="repository_type"> + ${render_repository_type_select_field( repository_type_select_field, render_help=False )} + </form> %if can_push: <form name="select_files_to_delete" id="select_files_to_delete" action="${h.url_for( controller='repository', action='select_files_to_delete', id=trans.security.encode_id( repository.id ))}" method="post" ><div class="form-row" > diff -r 559effee9eb7a5b0b78fea2df900e35dd5cf7d04 -r b72d967e0cf4a506f0bfbcef0f068fe1709659e9 test/tool_shed/base/twilltestcase.py --- a/test/tool_shed/base/twilltestcase.py +++ b/test/tool_shed/base/twilltestcase.py @@ -348,7 +348,7 @@ # Twill sets hidden form fields to read-only by default. We need to write to this field. form = tc.browser.get_form( 'select_files_to_delete' ) form.find_control( "selected_files_to_delete" ).readonly = False - tc.fv( "1", "selected_files_to_delete", ','.join( files_to_delete ) ) + tc.fv( "2", "selected_files_to_delete", ','.join( files_to_delete ) ) tc.submit( 'select_files_to_delete_button' ) self.check_for_strings( strings_displayed, strings_not_displayed ) 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.