]> git.decadent.org.uk Git - dak.git/blobdiff - test/006/test.py
Add new top level directories
[dak.git] / test / 006 / test.py
index 99e1e1bfa326942b11cf6a200c0798c1f78058cb..d3d90919fdc1eb9c10ab98fa803fe72ad3305071 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test utils.fix_maintainer()
 # Copyright (C) 2004  James Troup <james@nocrew.org>
-# $Id: test.py,v 1.1 2004-04-03 02:49:54 troup Exp $
+# $Id: test.py,v 1.2 2004-06-23 23:11:51 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
@@ -100,6 +100,14 @@ def main ():
     xd = "james@nocrew.org"
     check_valid(s, xa, xb, xc, xd);
 
+    # Check bracketed just-email form
+    s = "<james@nocrew.org>"
+    xa = " <james@nocrew.org>"
+    xb = " <james@nocrew.org>"
+    xc = ""
+    xd = "james@nocrew.org"
+    check_valid(s, xa, xb, xc, xd);
+
     # Check Krazy quoted-string local part email address
     s = "Cris van Pelt <\"Cris van Pelt\"@tribe.eu.org>"
     xa = "Cris van Pelt <\"Cris van Pelt\"@tribe.eu.org>"