[hg] galaxy 3337: Fix Twill Test Framework: diffs were no longer...
details: http://www.bx.psu.edu/hg/galaxy/rev/8b3c1f064bef changeset: 3337:8b3c1f064bef user: Dan Blankenberg <dan@bx.psu.edu> date: Fri Feb 05 11:49:51 2010 -0500 description: Fix Twill Test Framework: diffs were no longer being reported (all functional tests not writing to stderr were passing regardless of failure). diffstat: test/base/twilltestcase.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 22c1284782fb -r 8b3c1f064bef test/base/twilltestcase.py --- a/test/base/twilltestcase.py Fri Feb 05 11:20:13 2010 -0500 +++ b/test/base/twilltestcase.py Fri Feb 05 11:49:51 2010 -0500 @@ -82,6 +82,7 @@ for char in line: if ord( char ) > 128: raise AssertionError( "Binary data detected, not displaying diff" ) + raise AssertionError( "".join( diff_slice ) ) def get_filename( self, filename ): full = os.path.join( self.file_dir, filename)
participants (1)
-
Greg Von Kuster