mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix display of job stdio when using the twill interactor.
This commit is contained in:
@@ -386,7 +386,8 @@ class GalaxyInteractorTwill( object ):
|
||||
self.twill_test_case.verify_dataset_correctness( outfile, hid=hid, attributes=attributes, shed_tool_id=shed_tool_id, maxseconds=maxseconds )
|
||||
|
||||
def get_job_stream( self, history_id, output_data, stream ):
|
||||
return self.twill_test_case._get_job_stream_output( output_data.get( 'id' ), stream=stream, format=False )
|
||||
data_id = self.twill_test_case.security.encode_id( output_data.get( 'id' ) )
|
||||
return self.twill_test_case._get_job_stream_output( data_id, stream=stream, format=False )
|
||||
|
||||
def stage_data_async( self, test_data, history, shed_tool_id, async=True ):
|
||||
name = test_data.get( 'name', None )
|
||||
|
||||
@@ -2496,7 +2496,7 @@ class TwillTestCase( unittest.TestCase ):
|
||||
return msg
|
||||
|
||||
def _get_job_stream_output( self, hda_id, stream, format ):
|
||||
self.visit_url( "/datasets/%s/%s" % ( self.security.encode_id( hda_id ), stream ) )
|
||||
self.visit_url( "/datasets/%s/%s" % ( hda_id, stream ) )
|
||||
|
||||
output = self.last_page()
|
||||
return self._format_stream( output, stream, format )
|
||||
|
||||
Reference in New Issue
Block a user