From f3cd402d28554591f0f172d89876cff522d1f345 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 8 Dec 2014 00:21:47 -0500 Subject: [PATCH] Remove unused method now that twill interactor is gone. --- test/base/twilltestcase.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/base/twilltestcase.py b/test/base/twilltestcase.py index 786760293c9..d6aa61bfab2 100644 --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -1771,20 +1771,6 @@ class TwillTestCase( unittest.TestCase ): tc.submit( "reset_user_password_button" ) self.check_page_for_string( "Passwords reset for 1 user." ) - def run_tool( self, tool_id, repeat_name=None, **kwd ): - """Runs the tool 'tool_id' and passes it the key/values from the *kwd""" - params = dict( tool_id=tool_id ) - self.visit_url( "/tool_runner/index", params ) - # Must click somewhere in tool_form, to disambiguate what form - # is being targetted. - tc.browser.clicked( tc.browser.get_form( 'tool_form' ), None ) - if repeat_name is not None: - repeat_button = '%s_add' % repeat_name - # Submit the "repeat" form button to add an input) - tc.submit( repeat_button ) - tc.find( 'runtool_btn' ) - self.submit_form( **kwd ) - def run_ucsc_main( self, track_params, output_params ): """Gets Data From UCSC""" tool_id = "ucsc_table_direct1"