]> git.decadent.org.uk Git - dak.git/blobdiff - test/005/test.py
initial structural changes to jennifer to support additional queues
[dak.git] / test / 005 / test.py
index 3f6ca258393aa5f07bf3192ec6b3683da7c2ff50..5f561fa92d0ea8182ac28ade6d142b1da6966b54 100755 (executable)
@@ -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 <james@nocrew.org>
-# $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
 
 ################################################################################
 
-# 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: