X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=test%2F005%2Ftest.py;h=5f561fa92d0ea8182ac28ade6d142b1da6966b54;hb=1af29fa5f8b542b7cf18e2c116551f90b5b9b24d;hp=3f6ca258393aa5f07bf3192ec6b3683da7c2ff50;hpb=2ccf4d8d6768f6ccc439955dbd68dd27596b309d;p=dak.git diff --git a/test/005/test.py b/test/005/test.py index 3f6ca258..5f561fa9 100755 --- a/test/005/test.py +++ b/test/005/test.py @@ -1,8 +1,8 @@ #!/usr/bin/env python -# Check utils.parse_changes()'s for handling of multi-line fields +# Check utils.parse_changes() correctly ignores data outside the signed area # Copyright (C) 2004 James Troup -# $Id: test.py,v 1.1 2004-01-21 03:20:52 troup Exp $ +# $Id: test.py,v 1.3 2004-03-11 00:22:19 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,10 +20,6 @@ ################################################################################ -# Check util.parse_changes() correctly ignores data outside the signed area - -################################################################################ - import os, sys sys.path.append(os.path.abspath('../../')); @@ -39,10 +35,8 @@ def fail(message): ################################################################################ def main (): - for file in [ "valid", "bogus-pre", "bogus-post", "evil" ]: + for file in [ "valid", "bogus-pre", "bogus-post" ]: for strict_whitespace in [ 0, 1 ]: - if file == "evil" and strict_whitespace == 1: - continue; try: changes = utils.parse_changes("%s.changes" % (file), strict_whitespace) except utils.changes_parse_error_exc, line: