1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/b32617347a63/ changeset: r5228:b32617347a63 user: dan date: 2011-03-17 03:27:15 summary: When using re_match comparison method in functional tests and line counts do not match, print out first 40 lines of the history file. affected #: 1 file (66 bytes) --- a/test/base/twilltestcase.py Wed Mar 16 18:36:27 2011 -0400 +++ b/test/base/twilltestcase.py Wed Mar 16 22:27:15 2011 -0400 @@ -109,7 +109,7 @@ """Checks the contents of 2 files for differences using re.match""" local_file = open( file1, 'U' ).readlines() #regex file history_data = open( file2, 'U' ).readlines() - assert len( local_file ) == len( history_data ), 'Data File and Regular Expression File contain a different number of lines (%s != %s)' % ( len( local_file ), len( history_data ) ) + assert len( local_file ) == len( history_data ), 'Data File and Regular Expression File contain a different number of lines (%s != %s)\nHistory Data (first 40 lines):\n%s' % ( len( local_file ), len( history_data ), ''.join( history_data[:40] ) ) if attributes is None: attributes = {} if attributes.get( 'sort', False ): 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.